really fix the format string this time

develop
Myk Taylor 2023-01-04 21:29:45 -08:00
parent 9cbcd81f63
commit 412531bf03
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);
DEBUG(textures,out).print("loaded %d textures from '%s'\n", count, fname);
DEBUG(textures,out).print("loaded %ld textures from '%s'\n", count, fname);
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_dfhack_logo_texpos_start);
DEBUG(textures,out).print("loaded %d textures\n", g_num_dfhack_textures);
DEBUG(textures,out).print("loaded %ld textures\n", g_num_dfhack_textures);
if (is_pre_world)
textures.init_texture_size += g_num_dfhack_textures;