diff --git a/pyid3lib.cc b/pyid3lib.cc index cc7cfec..b1dc377 100644 --- a/pyid3lib.cc +++ b/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;