summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/grot/debug.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-13 03:51:49 +0000
committerngie <ngie@FreeBSD.org>2015-12-13 03:51:49 +0000
commit3a310452301f899fcd378d09a5e284aa0b0e4bff (patch)
tree963f33cb99ff76dd9a0d1f773bc344ab00ba0cb8 /lib/libc/regex/grot/debug.c
parente7a647fe8fd40eb273e9ce43da0e68f02ddb96cf (diff)
downloadFreeBSD-src-3a310452301f899fcd378d09a5e284aa0b0e4bff.zip
FreeBSD-src-3a310452301f899fcd378d09a5e284aa0b0e4bff.tar.gz
MFC r291832,r291833,r291834,r291835,r291836,r291838:
r291832: Fix -Wformat warnings by using the correct format qualifiers Sponsored by: EMC / Isilon Storage Division r291833: - Use ANSI C function prototypes/definitions instead of K&R style ones - Add a missing return type for main(..) Sponsored by: EMC / Isilon Storage Division r291834: Add missing headers and sort #includes per style(9) Sponsored by: EMC / Isilon Storage Division r291835: Use ANSI C function prototypes/definitions instead of K&R style ones Sponsored by: EMC / Isilon Storage Division r291836: Use `==` instead of `=` in the function comment above split(..) so mkh -p exposes split(..). Sponsored by: EMC / Isilon Storage Division r291838: Fix -Wformat issues and minor whitespace issues in surrounding areas Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/regex/grot/debug.c')
-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