diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-21 18:57:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-21 18:57:48 +0300 |
commit | 35cfd460655878c9a615abc8ea1cb2f7577a7f3b (patch) | |
tree | 2b4cb899f7f442912f89de30f4a5ab0add0727ce /src/gui/sdlfont.cpp | |
parent | cfe4c893ba4ba30379919636d3c508ebf1594e23 (diff) | |
download | plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.gz plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.bz2 plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.xz plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.zip |
some other fixes from cpplint.
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r-- | src/gui/sdlfont.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp index f3d904059..1acb50720 100644 --- a/src/gui/sdlfont.cpp +++ b/src/gui/sdlfont.cpp @@ -245,8 +245,7 @@ void SDLFont::loadFont(std::string filename, const int size, const int style) void SDLFont::clear() { - for (unsigned short f = 0; f < static_cast<unsigned short>( - CACHES_NUMBER); f ++) + for (size_t f = 0; f < CACHES_NUMBER; f ++) { mCache[f].clear(); } |