• Philipp Stephani's avatar
    Use high-level integer conversion macro in a few cases. · eaea40b3
    Philipp Stephani authored
    INT_TO_INTEGER is more obviously correct and means we don’t have to
    worry about data type sizes and signedness.
    
    * src/json.c (json_parse_error): Use INT_TO_INTEGER.  The tiny
    performance gain of make_fixed_natnum isn’t worth the trouble then
    signaling an error.
    eaea40b3
json.c 39.2 KB