summaryrefslogtreecommitdiff
path: root/client/readline.cc
diff options
context:
space:
mode:
authorunknown <georg@lmy002.wdf.sap.corp>2005-03-07 09:47:24 +0100
committerunknown <georg@lmy002.wdf.sap.corp>2005-03-07 09:47:24 +0100
commit52d19cbd7c36559622e6115ebde287f10adb4bb7 (patch)
treef6770612d428f7837f2a8da7c5d411906008cdf9 /client/readline.cc
parentae81d53048643da4b110c936eaec0a895af06219 (diff)
downloadmariadb-git-52d19cbd7c36559622e6115ebde287f10adb4bb7.tar.gz
fixed conversion errors (Windows IA64 build)
Diffstat (limited to 'client/readline.cc')
-rw-r--r--client/readline.cc2
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,