aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK/include/arm
diff options
context:
space:
mode:
Diffstat (limited to 'libFDK/include/arm')
-rw-r--r--libFDK/include/arm/clz_arm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libFDK/include/arm/clz_arm.h b/libFDK/include/arm/clz_arm.h
index d3c3e04..e81d0ae 100644
--- a/libFDK/include/arm/clz_arm.h
+++ b/libFDK/include/arm/clz_arm.h
@@ -43,12 +43,12 @@
inline INT fixnorm_D(LONG value)
{
INT result;
- if (value < 0) {
- value = ~value;
- }
if (value == 0) {
return 0;
}
+ if (value < 0) {
+ value = ~value;
+ }
result = fixnormz_D(value);
return result - 1;
}