Project

General

Profile

Actions

Bug #777

closed
MD DG

incorrect printf format

Bug #777: incorrect printf format

Added by Mathieu Desnoyers over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
04/07/2014
Due date:
% Done:

100%

Estimated time:

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

DG Updated by David Goulet over 11 years ago Actions #1

  • Status changed from New to Confirmed
  • Target version set to 2.4

DG Updated by David Goulet over 11 years ago Actions #2

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: PDF Atom