fix build err in gcc

develop
shevernitskiy 2023-08-17 06:32:26 +03:00
parent bbbb8fbb9c
commit c1945f7b54
2 changed files with 2 additions and 2 deletions

@ -38,7 +38,7 @@ DFHACK_EXPORT std::vector<TexposHandle> loadTileset(const std::string& file,
/**
* Get texpos by handle.
* Always use this function, if you need to get valid texpos for your texure.
* Always use this function, if you need to get valid texpos for your texture.
* Texpos can change on game textures reset, but handle will be the same.
*/
DFHACK_EXPORT long getTexposByHandle(TexposHandle handle);

@ -120,7 +120,7 @@ std::vector<TexposHandle> Textures::loadTileset(const std::string& file, int til
}
DFSDL_FreeSurface(surface);
DEBUG(textures).print("loaded %i textures from '%s'\n", handles.size(), file.c_str());
DEBUG(textures).print("loaded %zd textures from '%s'\n", handles.size(), file.c_str());
return handles;
}