Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Oct 28, 2024
1 parent 20a43b5 commit 2efdf3f
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(uint64_t i) {
return (void *)LL2NUM(((long long)i));
FIO_SFUNC void *iodine___json_on_number(int64_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 2efdf3f

Please sign in to comment.