From b20e9c5f4c2fed0e9bfb501af91e55c0998e808f Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 5 Dec 2015 01:12:58 +0000 Subject: [PATCH] Fix -Wformat warnings by using the correct format qualifiers MFC after: 1 week Sponsored by: EMC / Isilon Storage Division --- lib/libc/regex/grot/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/regex/grot/debug.c b/lib/libc/regex/grot/debug.c index caa2ca39612..af8e4f5a1d7 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)