valyala / fastjson

Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection
MIT License
2.28k stars 137 forks source link

Fix 64-bit tests on 32-bit systems #60

Closed guillemj closed 3 years ago

guillemj commented 3 years ago

We need to cast few constant literals, and change a variable type so that we do not overflow the int type on 32-bit systems.

valyala commented 3 years ago

@guillemj , thanks for the contribution!