mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-13384 - misc Windows warnings fixed
This commit is contained in:
@ -3249,7 +3249,7 @@ static void fetch_string_with_conversion(MYSQL_BIND *param, char *value,
|
||||
ulong copy_length;
|
||||
if (start < end)
|
||||
{
|
||||
copy_length= end - start;
|
||||
copy_length= (ulong)(end - start);
|
||||
/* We've got some data beyond offset: copy up to buffer_length bytes */
|
||||
if (param->buffer_length)
|
||||
memcpy(buffer, start, MY_MIN(copy_length, param->buffer_length));
|
||||
|
Reference in New Issue
Block a user