0f00e137a7
The value is a random interval in usec obtained by reducing a uint32_t value modulo 1000000 (multiplied by a delay in seconds of 1). The value is then being split into secs+usec and assigned to a timeval (and an interval). With -Wsign-conversion the type has to be either an unsigned 32bit type, or a signed 64bit one. This is just plain stupid. Warning about conversions between signed and unsigned types really only makes sense if the compiler is dynamically tracking the domain of the value. |
||
---|---|---|
.. | ||
dump.c | ||
if.c | ||
Makefile | ||
probe.c | ||
rtsock.c | ||
rtsol.c | ||
rtsold.8 | ||
rtsold.c | ||
rtsold.h |