svn commit: r291832 - head/lib/libc/regex/grot

Garrett Cooper ngie at FreeBSD.org
Sat Dec 5 01:13:00 UTC 2015


Author: ngie
Date: Sat Dec  5 01:12:58 2015
New Revision: 291832
URL: https://svnweb.freebsd.org/changeset/base/291832

Log:
  Fix -Wformat warnings by using the correct format qualifiers
  
  MFC after: 1 week
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/lib/libc/regex/grot/debug.c

Modified: head/lib/libc/regex/grot/debug.c
==============================================================================
--- head/lib/libc/regex/grot/debug.c	Sat Dec  5 01:12:44 2015	(r291831)
+++ head/lib/libc/regex/grot/debug.c	Sat Dec  5 01:12:58 2015	(r291832)
@@ -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)


More information about the svn-src-all mailing list