refactor(c-api): Use size_t on some JanetStructHead fields

This commit is contained in:
GrayJack
2024-04-18 20:15:42 -03:00
parent ed800bd39a
commit b3010e618e
2 changed files with 14 additions and 15 deletions
+2 -2
View File
@@ -1007,9 +1007,9 @@ struct JanetTupleHead {
/* Prefix for a struct */
struct JanetStructHead {
JanetGCObject gc;
int32_t length;
size_t length;
int32_t hash;
int32_t capacity;
size_t capacity;
const JanetKV *proto;
const JanetKV data[];
};