Addressed compiler warning in texture demo / pointer types

This commit is contained in:
_ 2018-04-19 05:49:16 -07:00
parent 444e157d77
commit 7dc8bfced3

View File

@ -23,7 +23,7 @@ void extracttextures(const char *filedata,
DEVIL1TEX.gettextures(t, i, filedata, filesize);
for (j = 0; j < d -> texNumber; j++) {
sprintf(fmt, "%s_%d.dds", filename, id);
write(fmt, t[j].data, d -> textureSize);
write(fmt, (char*)t[j].data, d -> textureSize);
id++;
}
free(t);