Skip to content

Commit

Permalink
long long isn't always int62_t...
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Oct 28, 2024
1 parent 881ea8c commit 20a43b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/iodine/iodine_json.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ FIO_SFUNC void *iodine___json_on_true(void) { return (void *)Qtrue; }
/** FALSE object was detected. Returns new object as `void *`. */
FIO_SFUNC void *iodine___json_on_false(void) { return (void *)Qfalse; }
/** Number was detected (long long). Returns new object as `void *`. */
FIO_SFUNC void *iodine___json_on_number(long long i) {
return (void *)LL2NUM(i);
FIO_SFUNC void *iodine___json_on_number(uint64_t i) {
return (void *)LL2NUM(((long long)i));
}
/** Float was detected (double).Returns new object as `void *`. */
FIO_SFUNC void *iodine___json_on_float(double f) { return (void *)DBL2NUM(f); }
Expand Down

0 comments on commit 20a43b5

Please sign in to comment.