Update print format specifier

This commit is contained in:
2023-06-22 00:37:59 +01:00
parent efe07a3c60
commit fd525e26a6
2 changed files with 217 additions and 10 deletions

View File

@@ -236,7 +236,7 @@ bool validate_json(char *json) {
}
void print_token(token_t token) {
printf("{LINE: %4llu, COLUMN: %4llu, TYPE: ", token.line, token.column);
printf("{LINE: %4lu, COLUMN: %4lu, TYPE: ", token.line, token.column);
switch (token.type) {
case TK_NO_TOKEN: