• Theo Buehler's avatar
    Fixes for systems with 64-bit time (#8662) · 169be042
    Theo Buehler authored
    Some operating systems (e.g., NetBSD and OpenBSD) have switched to
    using a 64-bit integer for time_t on all platforms. This results in currently
    harmless compiler warnings due to potential truncation.
    These changes fix these minor portability concerns.
    
    * Fix format string for systems with 64 bit time
    * use llabs to avoid truncation with 64 bit time
    169be042
debug.c 74.4 KB