-
-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
fac/herb
#13Description
I guess this is related to #632
compiling ../../../../ext/herb/../../src/lexer.c
../../../../ext/herb/../../src/lexer.c:91:47: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
91 | lexer->current_position = lexer->source.length;
| ~ ~~~~~~~~~~~~~~^~~~~~
1 warning generated.
We might want to explicitly cast it or change the length to be a uint32 as well. Or is there a reason why we kept that as a size_t?
/cc @timkaechele
timkaechele