fix format strings for vars that were size_t

develop
Myk Taylor 2023-01-04 21:24:52 -08:00
parent ba6c126c38
commit 9cbcd81f63
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

@ -86,7 +86,7 @@ static size_t load_textures(color_ostream & out, const char * fname,
} }
DFSDL_FreeSurface(s); DFSDL_FreeSurface(s);
DEBUG(textures,out).print("loaded %zd textures from '%s'\n", count, fname); DEBUG(textures,out).print("loaded %d textures from '%s'\n", count, fname);
return count; return count;
} }
@ -112,7 +112,7 @@ void Textures::init(color_ostream &out) {
g_num_dfhack_textures = load_textures(out, "hack/data/art/dfhack.png", g_num_dfhack_textures = load_textures(out, "hack/data/art/dfhack.png",
&g_dfhack_logo_texpos_start); &g_dfhack_logo_texpos_start);
DEBUG(textures,out).print("loaded %zd textures\n", g_num_dfhack_textures); DEBUG(textures,out).print("loaded %d textures\n", g_num_dfhack_textures);
if (is_pre_world) if (is_pre_world)
textures.init_texture_size += g_num_dfhack_textures; textures.init_texture_size += g_num_dfhack_textures;