]> git.pld-linux.org Git - packages/crossmingw32-gcc.git/blame - format-security.patch
- fix format string warnings
[packages/crossmingw32-gcc.git] / format-security.patch
CommitLineData
7b172b92
JR
1--- gcc-4.6.2/libcpp/expr.c~ 2011-04-29 00:39:59.000000000 +0200
2+++ gcc-4.6.2/libcpp/expr.c 2012-12-07 22:38:30.102991906 +0100
3@@ -434,9 +434,9 @@
4 : N_("use of C99 long long integer constant");
5
6 if (CPP_OPTION (pfile, c99))
7- cpp_warning (pfile, CPP_W_LONG_LONG, message);
8+ cpp_warning (pfile, CPP_W_LONG_LONG, "%s", message);
9 else
10- cpp_pedwarning (pfile, CPP_W_LONG_LONG, message);
11+ cpp_pedwarning (pfile, CPP_W_LONG_LONG, "%s", message);
12 }
13
14 result |= CPP_N_INTEGER;
This page took 0.09926 seconds and 4 git commands to generate.