mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Fix for wrong cast type and added "U" and "UL".
This commit is contained in:
@@ -108,9 +108,9 @@ This library provides single precision (SP) integer math functions.
|
||||
#endif
|
||||
|
||||
#if SP_WORD_SIZE == 32
|
||||
#define SP_MASK ((sp_digit)0xffffffff)
|
||||
#define SP_MASK ((sp_int_digit)0xffffffffU)
|
||||
#elif SP_WORD_SIZE == 64
|
||||
#define SP_MASK ((sp_digit)0xffffffffffffffff)
|
||||
#define SP_MASK ((sp_int_digit)0xffffffffffffffffUL)
|
||||
#else
|
||||
#error Word size not defined
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user