63c63 < static int getIntAt(const char * pos) { --- > static int getIntAt(const void * pos) { 89c89 < static struct EXTRACTOR_Keywords * processtEXt(const unsigned char * data, --- > static struct EXTRACTOR_Keywords * processtEXt(const char * data, 117c117 < static struct EXTRACTOR_Keywords * processiTXt(const unsigned char * data, --- > static struct EXTRACTOR_Keywords * processiTXt(const char * data, 168c168 < ret = uncompress(buf, --- > ret = uncompress((Bytef*) buf, 170c170 < &data[pos], --- > (const Bytef*) &data[pos], 199c199 < static struct EXTRACTOR_Keywords * processIHDR(const unsigned char * data, --- > static struct EXTRACTOR_Keywords * processIHDR(const char * data, 219c219 < static struct EXTRACTOR_Keywords * processzTXt(const unsigned char * data, --- > static struct EXTRACTOR_Keywords * processzTXt(const char * data, 251c251 < ret = uncompress(buf, --- > ret = uncompress((Bytef*) buf, 253c253 < &data[off], --- > (const Bytef*) &data[off], 286c286 < const unsigned char * data, --- > const char * data, 289,290c289,290 < const unsigned char * pos; < const unsigned char * end; --- > const char * pos; > const char * end; 310c310 < (pos+4+length+4 < pos + 4 + length) ) --- > (pos+4+length+4 < pos + 8) )