From 5f1f34ae1a227edbb4b0bba7fe99009d4efd94bd Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 1 Mar 2015 16:43:01 -0600 Subject: Fix several printf_format warnings. --- toys/other/modinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/other/modinfo.c') diff --git a/toys/other/modinfo.c b/toys/other/modinfo.c index f572a991..a7e6b4bc 100644 --- a/toys/other/modinfo.c +++ b/toys/other/modinfo.c @@ -27,7 +27,7 @@ GLOBALS( static void output_field(char *field, char *value) { - if (!TT.field) xprintf("%s:%*c", field, 15 - strlen(field), ' '); + if (!TT.field) xprintf("%s:%*c", field, 15-(int)strlen(field), ' '); else if (strcmp(TT.field, field)) return; xprintf("%s", value); xputc((toys.optflags & FLAG_0) ? 0 : '\n'); -- cgit v1.2.3