summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-31 17:01:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-31 17:01:38 +0300
commit5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5 (patch)
treeaeafccf4632262393b23e52afc9facc5ec9f1b3f /src/resources/openglimagehelper.cpp
parent84f2cad3897d0dacb60cfef4e1860ffb8ec268e1 (diff)
downloadplus-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.tar.gz
plus-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.tar.bz2
plus-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.tar.xz
plus-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.zip
Fix sign on some vars.
Diffstat (limited to 'src/resources/openglimagehelper.cpp')
-rw-r--r--src/resources/openglimagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index 7421dc852..292b2fb22 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -277,7 +277,7 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage,
if (error)
{
std::string errmsg = GraphicsManager::errorToString(error);
- logger->log("Error: Image GL import failed: %s (%d)",
+ logger->log("Error: Image GL import failed: %s (%u)",
errmsg.c_str(), error);
return nullptr;
}