Skip to content

cmdufrag: Fix compile warnings/error due to 64bit time

Andreas Gnau requested to merge agnau-64bit-time_t into devel

Fix compile warnings/errors introduced by 64-bit time values most probably coming from musl-upgrade.

  • cmdufrag.c:293:17: error: format '%lu' expects argument of type 'long unsigned int', but argument 14 has type 'time_t' {aka 'long long int'} [-Werror=format=]

  • cmdufrag.c:293:17: error: format '%lu' expects argument of type 'long unsigned int', but argument 15 has type 'suseconds_t' {aka 'long long int'} [-Werror=format=]

  • cmdufrag.c:432:43: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Werror=format=]

  • cmdufrag.c:432:47: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Werror=format=]

Signed-off-by: Andreas Gnau andreas.gnau@iopsys.eu

Merge request reports