summaryrefslogtreecommitdiff
path: root/dev-python/pyid3lib/files/pyid3lib-0.5.1-gcc-4.4.patch
blob: 04df9e0a6c987cc520e273803960374ce54a3c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- pyid3lib.cc
+++ pyid3lib.cc
@@ -920,7 +920,7 @@ enum frame_type
 
 typedef struct
 {
-    char* name;
+    const char* name;
     ID3_FrameID fid;
     frame_type type;
 } magic_attribute;
@@ -1030,7 +1030,7 @@ static PyObject* id3_getattr( ID3Object* self, char* attrname )
     {
         ID3_Frame* frame;
 	const char* str;
-	char* slash;
+	const char* slash;
         ID3_Field* fld;
 	int i;