mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01:00
Windows MBR Bootloader: workaround for 16-bit compiler internal error when compiling Camellia source code. In GET_UINT32_BE macro, we use |= operator instead of ORing shift values.
This commit is contained in:
parent
86a78d55ed
commit
b37d732408
@ -43,10 +43,10 @@
|
|||||||
#ifndef GET_UINT32_BE
|
#ifndef GET_UINT32_BE
|
||||||
#define GET_UINT32_BE(n,b,i) \
|
#define GET_UINT32_BE(n,b,i) \
|
||||||
{ \
|
{ \
|
||||||
(n) = ( (unsigned __int32) (b)[(i) ] << 24 ) \
|
(n) = ( (unsigned __int32) (b)[(i) ] << 24 ); \
|
||||||
| ( (unsigned __int32) (b)[(i) + 1] << 16 ) \
|
(n)|= ( (unsigned __int32) (b)[(i) + 1] << 16 ); \
|
||||||
| ( (unsigned __int32) (b)[(i) + 2] << 8 ) \
|
(n)|= ( (unsigned __int32) (b)[(i) + 2] << 8 ); \
|
||||||
| ( (unsigned __int32) (b)[(i) + 3] ); \
|
(n)|= ( (unsigned __int32) (b)[(i) + 3] ); \
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user