[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] numfmt: correct a printf format
From: |
Pádraig Brady |
Subject: |
[PATCH] numfmt: correct a printf format |
Date: |
Tue, 5 Feb 2013 15:51:09 +0000 |
Prompted by the continuous integration build failure at:
http://hydra.nixos.org/build/4010493
* src/numfmt.c (parse_format_string): Correct both sign and size of
a printf format, which only gives a warning on 32 bit builds.
---
src/numfmt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/numfmt.c b/src/numfmt.c
index 5929dba..cccd1d1 100644
--- a/src/numfmt.c
+++ b/src/numfmt.c
@@ -1014,7 +1014,7 @@ parse_format_string (char const *fmt)
if (dev_debug)
error (0, 0, _("format String:\n input: %s\n grouping: %s\n"
- " padding width: %zu\n alignment: %s\n"
+ " padding width: %ld\n alignment: %s\n"
" prefix: '%s'\n suffix: '%s'\n"),
quote (fmt), (grouping) ? "yes" : "no",
padding_width,
--
1.7.6.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] numfmt: correct a printf format,
Pádraig Brady <=