diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-27 23:48:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-27 23:48:51 +0300 |
commit | 36b1eebe9eac83371ce377e0155d70c42ab38c8d (patch) | |
tree | 4121583f0bf1b3da6d7b369378e25c0eb807e6a5 /src/gui/userpalette.cpp | |
parent | d432d78ba8ced0118cc7aa2be8a0308831932bcb (diff) | |
download | ManaVerse-36b1eebe9eac83371ce377e0155d70c42ab38c8d.tar.gz ManaVerse-36b1eebe9eac83371ce377e0155d70c42ab38c8d.tar.bz2 ManaVerse-36b1eebe9eac83371ce377e0155d70c42ab38c8d.tar.xz ManaVerse-36b1eebe9eac83371ce377e0155d70c42ab38c8d.zip |
fix compilation warnings.
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r-- | src/gui/userpalette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp index 9db32677a..c1f618962 100644 --- a/src/gui/userpalette.cpp +++ b/src/gui/userpalette.cpp @@ -250,7 +250,7 @@ void UserPalette::setGradient(const int type, const GradientType grad) if (elem->grad != STATIC && grad == STATIC) { - const int sz = mGradVector.size(); + const size_t sz = mGradVector.size(); for (size_t i = 0; i < sz; i++) { if (mGradVector[i] == elem) |