summaryrefslogtreecommitdiff
path: root/src/resources/dye.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:52:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:52:34 +0300
commitdc569bbcb4c12a5a400f9e5701e5c1027badadae (patch)
tree9b502cafda345e7fb4b0342de97c77822544d9fd /src/resources/dye.cpp
parent88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce (diff)
downloadmanaplus-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.gz
manaplus-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.bz2
manaplus-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.xz
manaplus-dc569bbcb4c12a5a400f9e5701e5c1027badadae.zip
Fix code style in resources.
Diffstat (limited to 'src/resources/dye.cpp')
-rw-r--r--src/resources/dye.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/dye.cpp b/src/resources/dye.cpp
index 7e6692c50..2baa2d12b 100644
--- a/src/resources/dye.cpp
+++ b/src/resources/dye.cpp
@@ -203,7 +203,7 @@ void DyePalette::replaceSColor(uint32_t *restrict pixels,
const int bufSize) const
{
std::vector<DyeColor>::const_iterator it_end = mColors.end();
- const int sz = mColors.size();
+ const size_t sz = mColors.size();
if (!sz)
return;
if (sz % 2)
@@ -260,7 +260,7 @@ void DyePalette::replaceAColor(uint32_t *restrict pixels,
const int bufSize) const
{
std::vector<DyeColor>::const_iterator it_end = mColors.end();
- const int sz = mColors.size();
+ const size_t sz = mColors.size();
if (!sz)
return;
if (sz % 2)
@@ -304,7 +304,7 @@ void DyePalette::replaceSOGLColor(uint32_t *restrict pixels,
const int bufSize) const
{
std::vector<DyeColor>::const_iterator it_end = mColors.end();
- const int sz = mColors.size();
+ const size_t sz = mColors.size();
if (!sz)
return;
if (sz % 2)
@@ -354,7 +354,7 @@ void DyePalette::replaceAOGLColor(uint32_t *restrict pixels,
const int bufSize) const
{
std::vector<DyeColor>::const_iterator it_end = mColors.end();
- const int sz = mColors.size();
+ const size_t sz = mColors.size();
if (!sz)
return;
if (sz % 2)