--- deliantra/Deliantra-Client/texcache.c 2009/11/29 14:45:12 1.8 +++ deliantra/Deliantra-Client/texcache.c 2018/11/18 00:52:22 1.9 @@ -63,7 +63,7 @@ void tex_backup (tc_texture *tex) { - tex->saved = g_slice_alloc (TC_WIDTH * TC_HEIGHT); + tex->saved = (char *)g_slice_alloc (TC_WIDTH * TC_HEIGHT); glBindTexture (GL_TEXTURE_2D, tex->name); glGetTexImage (GL_TEXTURE_2D, 0, GL_ALPHA, GL_UNSIGNED_BYTE, tex->saved);