blob: 04df9e0a6c987cc520e273803960374ce54a3c3f [file] [log] [blame]
--- 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;