• Heikki Linnakangas's avatar
    isdigit() needs an unsigned char argument. · a0c2fa9b
    Heikki Linnakangas authored
    Per the C standard, the routine should be passed an int, with a value that's
    representable as an unsigned char or EOF. Passing a signed char is wrong,
    because a negative value is not representable as an unsigned char.
    Unfortunately no compiler warns about that.
    a0c2fa9b
timestamp.c 127 KB