• Dmitry Shulga's avatar
    MDEV-24115 Fix -Wconversion in Timeval::Timeval() on Mac OS X · 796f708f
    Dmitry Shulga authored
    The data member tv_usec of the struct timeval is declared as suseconds_t
    on MacOS. Size of suseconds_t is 4 bytes. On the other hand, size of ulong
    is 8 bytes on 64-bit MacOS, so attempt to assign a value of wider type
    (usec) to a value (tv_usec) of narrower type leads to error.
    796f708f
structs.h 24.7 KB