1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-24 04:07:41 +00:00

Fix MSVC compiler warnings.

This commit is contained in:
Calvin Rose
2019-02-21 11:34:04 -05:00
parent 00a47dc0cb
commit df550efb6b
3 changed files with 3 additions and 3 deletions

View File

@@ -629,7 +629,7 @@ void janet_buffer_format(
}
case 's': {
const uint8_t *s = janet_getstring(argv, arg);
size_t l = janet_string_length(s);
int32_t l = janet_string_length(s);
if (form[2] == '\0')
janet_buffer_push_bytes(b, s, l);
else {