diff options
author | unknown <georg@lmy002.wdf.sap.corp> | 2005-03-07 09:47:24 +0100 |
---|---|---|
committer | unknown <georg@lmy002.wdf.sap.corp> | 2005-03-07 09:47:24 +0100 |
commit | 52d19cbd7c36559622e6115ebde287f10adb4bb7 (patch) | |
tree | f6770612d428f7837f2a8da7c5d411906008cdf9 /client/sql_string.cc | |
parent | ae81d53048643da4b110c936eaec0a895af06219 (diff) | |
download | mariadb-git-52d19cbd7c36559622e6115ebde287f10adb4bb7.tar.gz |
fixed conversion errors (Windows IA64 build)
Diffstat (limited to 'client/sql_string.cc')
-rw-r--r-- | client/sql_string.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/sql_string.cc b/client/sql_string.cc index 7de0df02f53..9dcf19dad1d 100644 --- a/client/sql_string.cc +++ b/client/sql_string.cc @@ -544,7 +544,7 @@ int String::reserve(uint32 space_needed, uint32 grow_by) void String::qs_append(const char *str) { - int len = strlen(str); + int len = (int)strlen(str); memcpy(Ptr + str_length, str, len + 1); str_length += len; } @@ -553,7 +553,7 @@ void String::qs_append(double d) { char *buff = Ptr + str_length; sprintf(buff,"%.14g", d); - str_length += strlen(buff); + str_length += (int)strlen(buff); } void String::qs_append(double *d) |