blob: 66580e88d1d7a383c3a78f451ca3749ee8f079c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff -dPNur xmms-mac-0.3.1-orig/src/mac.cpp xmms-mac-0.3.1/src/mac.cpp
--- xmms-mac-0.3.1-orig/src/mac.cpp 2005-04-15 11:05:46.000000000 +0200
+++ xmms-mac-0.3.1/src/mac.cpp 2011-02-08 17:24:17.000000000 +0100
@@ -45,12 +45,12 @@
static char *get_file_extname(const char *filename)
{
- char *ext = strrchr(filename, '.');
+ const char *ext = strrchr(filename, '.');
if (ext != NULL)
++ext;
- return ext;
+ return (char*)ext;
}
static char *get_tag_info(CAPETag *tag, wchar_t *fieldname)
|