mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Bug#29125 Windows Server X64: so many compiler warnings
- Remove bothersome warning messages. This change focuses on the warnings that are covered by the ignore file: support-files/compiler_warnings.supp. - Strings are guaranteed to be max uint in length
This commit is contained in:
parent
4568152518
commit
54fbbf9591
108 changed files with 786 additions and 751 deletions
|
|
@ -67,7 +67,7 @@ int vio_read_buff(Vio *vio, gptr buf, int size)
|
|||
|
||||
if (vio->read_pos < vio->read_end)
|
||||
{
|
||||
rc= min(vio->read_end - vio->read_pos, size);
|
||||
rc= min((int) (vio->read_end - vio->read_pos), size);
|
||||
memcpy(buf, vio->read_pos, rc);
|
||||
vio->read_pos+= rc;
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue