diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:52:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:52:34 +0300 |
commit | dc569bbcb4c12a5a400f9e5701e5c1027badadae (patch) | |
tree | 9b502cafda345e7fb4b0342de97c77822544d9fd /src/resources/dye.cpp | |
parent | 88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce (diff) | |
download | manaverse-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.gz manaverse-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.bz2 manaverse-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.xz manaverse-dc569bbcb4c12a5a400f9e5701e5c1027badadae.zip |
Fix code style in resources.
Diffstat (limited to 'src/resources/dye.cpp')
-rw-r--r-- | src/resources/dye.cpp | 8 |
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) |