summaryrefslogtreecommitdiff
path: root/sql/spatial.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-03-10 19:06:33 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-03-10 19:07:07 +0000
commitf2fe5cb2825144dcd8d2383bd38bc83fa4eafdf1 (patch)
tree531533b08d1e6a9d70ee7bbb835fce837c8de8bb /sql/spatial.cc
parent7c512138a19abd4d8e8761b1f0eb2bd8c9809a28 (diff)
downloadmariadb-git-f2fe5cb2825144dcd8d2383bd38bc83fa4eafdf1.tar.gz
Fix several compile warnings on Windows
Diffstat (limited to 'sql/spatial.cc')
-rw-r--r--sql/spatial.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/spatial.cc b/sql/spatial.cc
index 0e3976ba573..7c9d8bb771e 100644
--- a/sql/spatial.cc
+++ b/sql/spatial.cc
@@ -372,7 +372,7 @@ Geometry *Geometry::create_from_json(Geometry_buffer *buffer,
key_len=0;
break;
}
- key_buf[key_len++]= je->s.c_next | 0x20; /* make it lowercase. */
+ key_buf[key_len++]= (uchar)je->s.c_next | 0x20; /* make it lowercase. */
}
if (je->s.error)