diff options
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 95e98cb90c2..c14059d98c8 100644 --- a/client/readline.cc +++ b/client/readline.cc @@ -105,7 +105,7 @@ static bool init_line_buffer_from_string(LINE_BUFFER *buffer,my_string str) { uint length; bzero((char*) buffer,sizeof(buffer[0])); - length=strlen(str); + length=(uint) strlen(str); if (!(buffer->buffer=buffer->start_of_line=buffer->end_of_line= (char*)my_malloc(length+2,MYF(MY_FAE)))) return 1; |