diff options
Diffstat (limited to 'src/utils/mul128.h')
-rw-r--r-- | src/utils/mul128.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/mul128.h b/src/utils/mul128.h index 7927e5d08..6725021ba 100644 --- a/src/utils/mul128.h +++ b/src/utils/mul128.h @@ -27,7 +27,7 @@ namespace Botan { #define BOTAN_FAST_64X64_MUL(a,b,lo,hi) \ do { \ - const uint128_t r = (uint128_t)a * b; \ + const uint128_t r = static_cast<uint128_t>(a) * b; \ *hi = (r >> 64) & 0xFFFFFFFFFFFFFFFF; \ *lo = (r ) & 0xFFFFFFFFFFFFFFFF; \ } while(0) |