summaryrefslogtreecommitdiff
path: root/storage/spider/hs_client/hstcpcli.cpp
diff options
context:
space:
mode:
authorJacob Mathew <jacob.mathew@mariadb.com>2017-11-28 22:42:59 +0200
committerMonty <monty@mariadb.org>2017-12-03 13:58:36 +0200
commitbfaf2d6e35d5decad9ab7ad06d19e20a73cd93a3 (patch)
treed38fa403634ce0d6ef4cc11f4b553de66fc7362f /storage/spider/hs_client/hstcpcli.cpp
parent207594afac99e5e7de1e639d907ce57c53c02294 (diff)
downloadmariadb-git-bfaf2d6e35d5decad9ab7ad06d19e20a73cd93a3.tar.gz
Changes to fix 64-bit Windows build errors and warnings.
Signed-off-by: Monty <monty@mariadb.org>
Diffstat (limited to 'storage/spider/hs_client/hstcpcli.cpp')
-rw-r--r--storage/spider/hs_client/hstcpcli.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/spider/hs_client/hstcpcli.cpp b/storage/spider/hs_client/hstcpcli.cpp
index d6bdc098438..2cb37c7be9d 100644
--- a/storage/spider/hs_client/hstcpcli.cpp
+++ b/storage/spider/hs_client/hstcpcli.cpp
@@ -497,7 +497,7 @@ hstcpcli::response_recv(size_t& num_flds_r)
char *const err_begin = start;
read_token(start, finish);
char *const err_end = start;
- String e = String(err_begin, err_end - err_begin, &my_charset_bin);
+ String e = String(err_begin, (uint32)(err_end - err_begin), &my_charset_bin);
if (!e.length()) {
e = String("unknown_error", &my_charset_bin);
}