VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Endian.h')
-rw-r--r--src/Common/Endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Endian.h b/src/Common/Endian.h
index 38af8cfb..bffcb868 100644
--- a/src/Common/Endian.h
+++ b/src/Common/Endian.h
@@ -108,7 +108,7 @@ extern "C"
( ( unsigned __int32 ) memPtr[ -2 ] << 8 ) | ( unsigned __int32 ) memPtr[ -1 ] )
#define mgetWord(memPtr) \
- ( memPtr += 2, ( unsigned short ) memPtr[ -2 ] << 8 ) | ( ( unsigned short ) memPtr[ -1 ] )
+ ( memPtr += 2, ((( unsigned short ) memPtr[ -2 ] << 8 ) | ( ( unsigned short ) memPtr[ -1 ] )) )
#define mgetByte(memPtr) \
( ( unsigned char ) *memPtr++ )