summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2020-09-14 18:36:20 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2020-09-14 18:36:20 +0200
commit9710d356fe534a0cc7bb592c646e9b1db874ea10 (patch)
tree72bde6d0e9b0d47c48f7affead472bd8dcc3c986
parent02d307b901d05b214796aabae593acd64aed00e5 (diff)
src/file_ibd.c: fix warning reported by gcc
-rw-r--r--src/file_ibd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_ibd.c b/src/file_ibd.c
index 6c67df2..0631e75 100644
--- a/src/file_ibd.c
+++ b/src/file_ibd.c
@@ -50,7 +50,7 @@ const file_hint_t file_hint_ibd= {
#define DICT_TF_BITS 6 /* number of flag bits */
#define DICT_TF_FORMAT_SHIFT 5 /* file format */
#define DICT_TF_FORMAT_MASK \
- ((~(~0 << (DICT_TF_BITS - DICT_TF_FORMAT_SHIFT))) << DICT_TF_FORMAT_SHIFT)
+ ((~(~0U << (DICT_TF_BITS - DICT_TF_FORMAT_SHIFT))) << DICT_TF_FORMAT_SHIFT)
#define DICT_TF_FORMAT_ZIP 1 /* InnoDB plugin for 5.1: compressed tables */