mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Fix a warning on Win64
This commit is contained in:
parent
e0a1c745ec
commit
b56560ed39
1 changed files with 1 additions and 1 deletions
|
|
@ -8673,7 +8673,7 @@ User_var_log_event(const char* buf, uint event_len,
|
|||
Old events will not have this extra byte, thence,
|
||||
we keep the flags set to UNDEF_F.
|
||||
*/
|
||||
uint bytes_read= ((val + val_len) - buf_start);
|
||||
uint bytes_read= (uint)((val + val_len) - buf_start);
|
||||
if ((data_written - bytes_read) > 0)
|
||||
{
|
||||
flags= (uint) *(buf + UV_VAL_IS_NULL + UV_VAL_TYPE_SIZE +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue