1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fixed conversion errors (Windows IA64 build)

This commit is contained in:
unknown
2005-03-07 09:47:24 +01:00
parent ae81d53048
commit 52d19cbd7c
3 changed files with 8 additions and 10 deletions

View File

@ -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,