Open ahorek opened 1 year ago
the size of long on Windows platforms is 32 bits (even with 64 bit binaries). So the assumed sizeof(int64_t) != sizeof(long) isn't true. This leads to the corruption of > 32 bit numbers on such platforms due to the overflow.
fixes https://github.com/anilmaurya/fast_jsonparser/issues/17
ad. there's probably a much cleaner way to do it :)
the size of long on Windows platforms is 32 bits (even with 64 bit binaries). So the assumed sizeof(int64_t) != sizeof(long) isn't true. This leads to the corruption of > 32 bit numbers on such platforms due to the overflow.
fixes https://github.com/anilmaurya/fast_jsonparser/issues/17
ad. there's probably a much cleaner way to do it :)