Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-10-25 17:12:37 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-10-25 17:12:37 +0400
commit15362e1c02ece1e506b880c17c7af17502ffc5bb (patch)
treecef17200226c524bdeb58ddd086cdae4017253ba /source/blender/imbuf/intern/dds
parent575886f37c0af35a34d1b1d37f1055f60842ab4d (diff)
Fix for strict compiler setup
Diffstat (limited to 'source/blender/imbuf/intern/dds')
-rw-r--r--source/blender/imbuf/intern/dds/FlipDXT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/dds/FlipDXT.cpp b/source/blender/imbuf/intern/dds/FlipDXT.cpp
index 3131159a0be..1a577c4dafb 100644
--- a/source/blender/imbuf/intern/dds/FlipDXT.cpp
+++ b/source/blender/imbuf/intern/dds/FlipDXT.cpp
@@ -176,7 +176,7 @@ int FlipDXTCImage(unsigned int width, unsigned int height, unsigned int levels,
if(width == 0 || height == 0)
return 0;
// height must be a power-of-two
- if(height & (height - 1) != 0)
+ if((height & (height - 1)) != 0)
return 0;
FlipBlockFunction full_block_function;