]>
Commit | Line | Data |
---|---|---|
7efd5029 JR |
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 | ||
fea8c855 JR |
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 | |
e04752e7 JR |
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; | |
81261dcb | 22 |