diff options
Diffstat (limited to 'innobase/include/ut0byte.ic')
-rw-r--r-- | innobase/include/ut0byte.ic | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/include/ut0byte.ic b/innobase/include/ut0byte.ic index e141de3aa3f..3d268325674 100644 --- a/innobase/include/ut0byte.ic +++ b/innobase/include/ut0byte.ic @@ -388,8 +388,8 @@ ut_bit_set_nth( ut_ad(TRUE == 1); if (val) { - return((1 << n) | a); + return(((ulint) 1 << n) | a); } else { - return(~(1 << n) & a); + return(~((ulint) 1 << n) & a); } } |