]> git.pld-linux.org Git - packages/cvsnt.git/blob - cvsnt-gcc4.patch
- fix format string errors
[packages/cvsnt.git] / cvsnt-gcc4.patch
1 --- cvsnt-2.5.04.3236/cvsapi/cvs_string.h~      2008-07-01 05:31:35.000000000 +0200
2 +++ cvsnt-2.5.04.3236/cvsapi/cvs_string.h       2009-07-03 10:55:48.141029816 +0200
3 @@ -23,6 +23,7 @@
4  #include <queue>
5  #include <stdarg.h>
6  #include <string.h>
7 +#include <cstdio>
8  
9  #include "ServerIO.h"
10  
11 --- cvsnt-2.5.04.3236/src/filesubr.cpp~ 2006-08-17 23:33:30.000000000 +0200
12 +++ cvsnt-2.5.04.3236/src/filesubr.cpp  2009-07-03 15:05:48.195587407 +0200
13 @@ -1230,7 +1230,7 @@
14  /* Return a pointer into PATH's last component.  */
15  const char *last_component (const char *path)
16  {
17 -    char *last = strrchr (path, '/');
18 +    char *last = strrchr ((char *)path, '/');
19      
20      if (last && (last != path))
21          return last + 1;
22
This page took 0.022207 seconds and 3 git commands to generate.