tags 560466 + patch
thanks

Here's a trivial patch fixing the problem.

--- libtunepimp-0.5.3.orig/lib/fileio.cpp
+++ libtunepimp-0.5.3/lib/fileio.cpp
@@ -124,7 +124,8 @@
 
 void tmktempname(const char *path, char *newPath, int newPathLen)
 {
-    char *ptr, *temp;
+    const char *ptr;
+    char *temp;
 
     temp = (char *)malloc(strlen(path) + 32);
     ptr = strrchr(path, dirSepChar);

Reply via email to