From 8f00848c7b19afd729d0226586fcdff60e760c88 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Wed, 18 Nov 2020 19:31:20 -0600 Subject: [PATCH] Fix build issues on windows by using a size_t instead of int. --- src/include/janet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/janet.h b/src/include/janet.h index 6ee1f769..32cdb964 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -560,7 +560,7 @@ struct JanetListenerState { int bytes; /* Used to track how many bytes were transfered. */ #endif /* internal */ - int _index; /* not used in all implementations */ + size_t _index; int _mask; JanetListenerState *_next; };