diff --git a/library/include/modules/Textures.h b/library/include/modules/Textures.h index 17cd6e2fc..fa1f743be 100644 --- a/library/include/modules/Textures.h +++ b/library/include/modules/Textures.h @@ -38,7 +38,7 @@ DFHACK_EXPORT std::vector 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); diff --git a/library/modules/Textures.cpp b/library/modules/Textures.cpp index 729bf0cae..31575dca0 100644 --- a/library/modules/Textures.cpp +++ b/library/modules/Textures.cpp @@ -120,7 +120,7 @@ std::vector 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; }