summaryrefslogtreecommitdiff
path: root/storage/innobase/fil
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2017-02-16 12:02:31 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2017-02-16 12:02:31 +0200
commit108b211ee2aa3944f060850a2522fb28c75f6158 (patch)
tree53acf1a2a56892f9bf44fb9bf5cc496120c38aec /storage/innobase/fil
parent2e8fa1c2b2867b99b5cc7f987ad64b666e0af2c4 (diff)
downloadmariadb-git-108b211ee2aa3944f060850a2522fb28c75f6158.tar.gz
Fix gcc 6.3.x compiler warnings.
These are caused by fact that functions are declared with __attribute__((nonnull)) or left shit like ~0 << macro when ~0U << macro should be used.
Diffstat (limited to 'storage/innobase/fil')
-rw-r--r--storage/innobase/fil/fil0fil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c
index b30e8056c0a..d7ac3dd14eb 100644
--- a/storage/innobase/fil/fil0fil.c
+++ b/storage/innobase/fil/fil0fil.c
@@ -3308,7 +3308,7 @@ fil_open_single_table_tablespace(
}
if (space_id != id
- || space_flags != (flags & ~(~0 << DICT_TF_BITS))) {
+ || space_flags != (flags & ~(~0U << DICT_TF_BITS))) {
ut_print_timestamp(stderr);
fputs(" InnoDB: Error: tablespace id and flags in file ",