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

Fix for windows specific errors

This commit is contained in:
unknown
2003-01-28 21:02:20 -08:00
parent b6315f6d9b
commit a8abb0471e
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
enum enum_vio_type { VIO_CLOSED, VIO_TYPE_TCPIP, VIO_TYPE_SOCKET, enum enum_vio_type { VIO_CLOSED, VIO_TYPE_TCPIP, VIO_TYPE_SOCKET,
VIO_TYPE_NAMEDPIPE, VIO_TYPE_SSL }; VIO_TYPE_NAMEDPIPE, VIO_TYPE_SSL, VIO_TYPE_SHARED_MEMORY };
#ifndef __WIN__ #ifndef __WIN__
#define HANDLE void * #define HANDLE void *

View File

@ -3193,7 +3193,7 @@ static int sort_ft_key_write(MI_SORT_PARAM *sort_param, const void *a)
} }
/* storing the key in the buffer. */ /* storing the key in the buffer. */
memcpy (ft_buf->buf, a+val_off, val_len); memcpy (ft_buf->buf, (char *)a+val_off, val_len);
ft_buf->buf+=val_len; ft_buf->buf+=val_len;
if (ft_buf->buf < ft_buf->end) if (ft_buf->buf < ft_buf->end)
return 0; return 0;