Date: Sat, 5 Dec 2015 01:12:58 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291832 - head/lib/libc/regex/grot Message-ID: <201512050112.tB51CwLb050497@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512050112.tB51CwLb050497>