Bug #777
closedincorrect printf format
100%
Description
17:16 < Compudj> utils.c: In function 'utils_get_current_time_str':
17:16 < Compudj> utils.c:876:3: warning: format '%lu' expects argument of type
'long unsigned int', but argument 5 has type 'size_t'
[-Wformat]
17:16 < Compudj> utils.c:876:3: warning: format '%lu' expects argument of type
'long unsigned int', but argument 5 has type 'size_t'
[-Wformat]
17:16 < Compudj> utils.c:876:3: warning: format '%lu' expects argument of type
'long unsigned int', but argument 5 has type 'size_t'
[-Wformat]
17:16 < Compudj> utils.c:876:3: warning: format '%lu' expects argument of type
'long unsigned int', but argument 5 has type 'size_t'
[-Wformat]
17:16 < Compudj> see src/common/utils.c
17:16 < Compudj> utils_get_current_time_str
17:16 < Compudj> should change %lu -> %zu