mirror of
https://github.com/janet-lang/janet
synced 2026-11-17 10:24:27 +00:00
Fix warnings w/ MSVC and format.
This commit is contained in:
1 parent
f459e32ada
commit
93c83a2ee2
2 files changed
+1
-2
No files matched your search
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -122,7 +122,6 @@ static void janet_net_socknoblock(JSock s) {
|
||||
|
||||
/* State machine for async connect */
|
||||
|
||||
|
||||
void net_callback_connect(JanetFiber *fiber, JanetAsyncEvent event) {
|
||||
JanetStream *stream = fiber->ev_stream;
|
||||
switch (event) {
|
||||
|
||||
Reference in new issue
Block a user