summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-01-02 19:28:48 +0100
committerSergei Golubchik <serg@mariadb.org>2019-01-02 19:28:48 +0100
commit32150d2513b2de1ff5b4ac3f4d9aa3470ae1c333 (patch)
treecb4a3b5c492a928ac97f9a769e9a099bc8605b00
parent802ce9672ff630bbef08235e0e39bf599075f985 (diff)
downloadmariadb-git-32150d2513b2de1ff5b4ac3f4d9aa3470ae1c333.tar.gz
compilation warning on Windows
-rw-r--r--storage/innobase/handler/handler0alter.cc2
-rw-r--r--storage/xtradb/handler/handler0alter.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/handler/handler0alter.cc b/storage/innobase/handler/handler0alter.cc
index 8fbdf6c6884..25019b8f964 100644
--- a/storage/innobase/handler/handler0alter.cc
+++ b/storage/innobase/handler/handler0alter.cc
@@ -4551,7 +4551,7 @@ err_exit:
info = pars_info_create();
- int pos = i;
+ ulint pos = i;
if (has_prefixes) {
pos = (pos << 16) + field->prefix_len;
}
diff --git a/storage/xtradb/handler/handler0alter.cc b/storage/xtradb/handler/handler0alter.cc
index bdec9a076ac..e932e2cbbdb 100644
--- a/storage/xtradb/handler/handler0alter.cc
+++ b/storage/xtradb/handler/handler0alter.cc
@@ -4565,7 +4565,7 @@ err_exit:
info = pars_info_create();
- int pos = i;
+ ulint pos = i;
if (has_prefixes) {
pos = (pos << 16) + field->prefix_len;
}