mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
fixed conversion errors (Windows IA64 build)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user