mirror of
https://github.com/janet-lang/janet
synced 2025-11-16 15:28:06 +00:00
Fix warnings w/ MSVC and format.
This commit is contained in:
@@ -135,7 +135,7 @@ void janet_buffer_extra(JanetBuffer *buffer, int32_t n) {
|
||||
|
||||
/* Push a cstring to buffer */
|
||||
void janet_buffer_push_cstring(JanetBuffer *buffer, const char *cstring) {
|
||||
int32_t len = strlen(cstring);
|
||||
int32_t len = (int32_t) strlen(cstring);
|
||||
janet_buffer_push_bytes(buffer, (const uint8_t *) cstring, len);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user