summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-05 01:12:58 +0000
committerngie <ngie@FreeBSD.org>2015-12-05 01:12:58 +0000
commitd6f598ef531d9245efa669fe898542821a2b173f (patch)
tree0f1e837efc5cd0f4430ad2c22da9bacff3266b39
parentad02ea22c188071adeb773dcf04bd52f15632fb1 (diff)
downloadFreeBSD-src-d6f598ef531d9245efa669fe898542821a2b173f.zip
FreeBSD-src-d6f598ef531d9245efa669fe898542821a2b173f.tar.gz
Fix -Wformat warnings by using the correct format qualifiers
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
-rw-r--r--lib/libc/regex/grot/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/regex/grot/debug.c b/lib/libc/regex/grot/debug.c
index caa2ca3..af8e4f5 100644
--- a/lib/libc/regex/grot/debug.c
+++ b/lib/libc/regex/grot/debug.c
@@ -186,7 +186,7 @@ FILE *d;
fprintf(d, ">");
break;
default:
- fprintf(d, "!%d(%d)!", OP(*s), opnd);
+ fprintf(d, "!%ld(%ld)!", OP(*s), (long)opnd);
break;
}
if (!done)
OpenPOWER on IntegriCloud