Fix a type mismatch introduced by the merge commit e0a1c745ec

This commit is contained in:
Marko Mäkelä 2017-10-30 18:57:44 +02:00
parent b5689c6c87
commit 52c3afd4ca

View file

@ -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= (uint)((val + val_len) - buf_start);
size_t bytes_read= ((val + val_len) - buf_start);
if ((data_written - bytes_read) > 0)
{
flags= (uint) *(buf + UV_VAL_IS_NULL + UV_VAL_TYPE_SIZE +