summaryrefslogtreecommitdiff
path: root/sql/sql_bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_bitmap.h')
-rw-r--r--sql/sql_bitmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_bitmap.h b/sql/sql_bitmap.h
index 5e5bb1d8d3b..758d7674f9d 100644
--- a/sql/sql_bitmap.h
+++ b/sql/sql_bitmap.h
@@ -62,7 +62,7 @@ public:
char *print(char *buf) const
{
char *s=buf;
- const uchar *e=buffer, *b=e+sizeof(buffer)-1;
+ const uchar *e=(uchar *)buffer, *b=e+sizeof(buffer)-1;
while (!*b && b>e)
b--;
if ((*s=_dig_vec_upper[*b >> 4]) != '0')