]> git.pld-linux.org Git - packages/crossmingw32-gcc.git/blob - format-security.patch
- fix format string warnings
[packages/crossmingw32-gcc.git] / format-security.patch
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.092675 seconds and 3 git commands to generate.