int32_t is long int on toaru? I should probably fix that
This commit is contained in:
parent
724e44655d
commit
ae2b00bcfa
2
value.c
2
value.c
@ -29,7 +29,7 @@ void krk_printValue(FILE * f, KrkValue value) {
|
||||
if (IS_FLOATING(value)) {
|
||||
fprintf(f, "%g", AS_FLOATING(value));
|
||||
} else if (IS_INTEGER(value)) {
|
||||
fprintf(f, "%d", AS_INTEGER(value));
|
||||
fprintf(f, "%d", (int)AS_INTEGER(value));
|
||||
} else if (IS_BOOLEAN(value)) {
|
||||
fprintf(f, "%s", AS_BOOLEAN(value) ? "True" : "False");
|
||||
} else if (IS_NONE(value)) {
|
||||
|
Loading…
Reference in New Issue
Block a user