From 8fb2c062cd1c03f032b99f4a7e7663c0653ba837 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:20:20 +0300 Subject: Add missing const in resources directory. --- src/resources/dye/dye.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/dye/dye.cpp') diff --git a/src/resources/dye/dye.cpp b/src/resources/dye/dye.cpp index 129756673..a5dd44221 100644 --- a/src/resources/dye/dye.cpp +++ b/src/resources/dye/dye.cpp @@ -211,7 +211,7 @@ endlabel:{} #else // ENABLE_CILKPLUS - for (uint32_t *p_end = pixels + CAST_SIZE(bufSize); + for (const uint32_t *const p_end = pixels + CAST_SIZE(bufSize); pixels != p_end; ++ pixels) { @@ -330,7 +330,7 @@ endlabel:{} #else // ENABLE_CILKPLUS - for (uint32_t *p_end = pixels + CAST_SIZE(bufSize); + for (const uint32_t *const p_end = pixels + CAST_SIZE(bufSize); pixels != p_end; ++ pixels) { -- cgit v1.2.3-70-g09d2