bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: error.c: correct printf-style format: %d -> %u


From: Jim Meyering
Subject: FYI: error.c: correct printf-style format: %d -> %u
Date: Sun, 28 Jun 2015 10:43:57 -0700

I've just pushed the attached, to avoid this warning:

  lib/error.c:385:40: warning: format '%d' expects argument of type
'int', but argument 4 has type 'unsigned int' [-Wformat=]
     fprintf (stderr, file_name != NULL ? "%s:%d: " : " ",

Attachment: 0001-error.c-correct-printf-style-format-d-u.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]