Contents of /trunk/libtunepimp/patches/libtunepimp-0.5.3-gcc45.patch
Parent Directory | Revision Log
Revision 1166 -
(show annotations)
(download)
Thu Sep 30 10:15:33 2010 UTC (14 years ago) by niro
File size: 482 byte(s)
Thu Sep 30 10:15:33 2010 UTC (14 years ago) by niro
File size: 482 byte(s)
added gcc-4.5 patch
1 | diff -Naur libtunepimp-0.5.3/lib/fileio.cpp libtunepimp-0.5.3-magellan/lib/fileio.cpp |
2 | --- libtunepimp-0.5.3/lib/fileio.cpp 2006-11-18 11:52:33.000000000 +0100 |
3 | +++ libtunepimp-0.5.3-magellan/lib/fileio.cpp 2010-09-30 12:21:59.000000000 +0200 |
4 | @@ -122,7 +122,8 @@ |
5 | |
6 | void tmktempname(const char *path, char *newPath, int newPathLen) |
7 | { |
8 | - char *ptr, *temp; |
9 | + char *temp; |
10 | + const char *ptr; |
11 | |
12 | temp = (char *)malloc(strlen(path) + 32); |
13 | ptr = strrchr(path, dirSepChar); |