summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-12-07 18:17:08 +0400
committerAlexander Barkov <bar@mariadb.com>2019-12-07 19:12:04 +0400
commitd30dbaa20d6fd5fae7027e8d69d8921037614ae2 (patch)
treef57bb9c3da7eecfacb08feb0058c5a306793c4cd /sql/sql_string.h
parent3c6065a270f547d160e11bbcaa653930ec5ff90f (diff)
downloadmariadb-git-d30dbaa20d6fd5fae7027e8d69d8921037614ae2.tar.gz
A cleanup for MDEV-8844: Fixing compilation failure on Windows
Fixing lossy type conversions: - from int64 to int - from size_t to uint
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index 36a5a5d5e84..617fcda5fee 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -531,7 +531,7 @@ public:
*/
bool copy_printable_hhhh(CHARSET_INFO *to_cs,
CHARSET_INFO *from_cs,
- const char *from, uint32 from_length);
+ const char *from, size_t from_length);
bool append_ulonglong(ulonglong val);
bool append_longlong(longlong val);