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/readline.cc | |
parent | ae81d53048643da4b110c936eaec0a895af06219 (diff) | |
download | mariadb-git-52d19cbd7c36559622e6115ebde287f10adb4bb7.tar.gz |
fixed conversion errors (Windows IA64 build)
Diffstat (limited to 'client/readline.cc')
-rw-r--r-- | client/readline.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/readline.cc b/client/readline.cc index 52ecb4e5c68..3d524633d69 100644 --- a/client/readline.cc +++ b/client/readline.cc @@ -108,7 +108,7 @@ init_line_buffer(LINE_BUFFER *buffer,File file,ulong size,ulong max_buffer) */ static bool init_line_buffer_from_string(LINE_BUFFER *buffer,my_string str) { - uint old_length=buffer->end - buffer->buffer; + uint old_length=(uint)(buffer->end - buffer->buffer); uint length= (uint) strlen(str); if (!(buffer->buffer= buffer->start_of_line= buffer->end_of_line= (char*)my_realloc(buffer->buffer, old_length+length+2, |