diff options
Diffstat (limited to 'src/resources/dye/dyepalette_replacesoglcolor.cpp')
-rw-r--r-- | src/resources/dye/dyepalette_replacesoglcolor.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/resources/dye/dyepalette_replacesoglcolor.cpp b/src/resources/dye/dyepalette_replacesoglcolor.cpp index 7e435d936..4483ed02b 100644 --- a/src/resources/dye/dyepalette_replacesoglcolor.cpp +++ b/src/resources/dye/dyepalette_replacesoglcolor.cpp @@ -43,9 +43,9 @@ void DyePalette::replaceSOGLColorDefault(uint32_t *restrict pixels, { STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); const size_t sz = mColors.size(); - if ((sz == 0u) || (pixels == nullptr)) + if ((sz == 0U) || (pixels == nullptr)) return; - if ((sz % 2) != 0u) + if ((sz % 2) != 0U) -- it_end; for (const uint32_t *const p_end = pixels + CAST_SIZE(bufSize); @@ -104,9 +104,9 @@ void DyePalette::replaceSOGLColorSse2(uint32_t *restrict pixels, { STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); const size_t sz = mColors.size(); - if ((sz == 0u) || (pixels == nullptr)) + if ((sz == 0U) || (pixels == nullptr)) return; - if ((sz % 2) != 0u) + if ((sz % 2) != 0U) -- it_end; if (bufSize >= 8) @@ -190,9 +190,9 @@ void DyePalette::replaceSOGLColorAvx2(uint32_t *restrict pixels, { STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); const size_t sz = mColors.size(); - if ((sz == 0u) || (pixels == nullptr)) + if ((sz == 0U) || (pixels == nullptr)) return; - if ((sz % 2) != 0u) + if ((sz % 2) != 0U) -- it_end; if (bufSize >= 8) |