Commit 52c3afd4 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix a type mismatch introduced by the merge commit e0a1c745

parent b5689c6c
...@@ -8673,7 +8673,7 @@ User_var_log_event(const char* buf, uint event_len, ...@@ -8673,7 +8673,7 @@ User_var_log_event(const char* buf, uint event_len,
Old events will not have this extra byte, thence, Old events will not have this extra byte, thence,
we keep the flags set to UNDEF_F. 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) if ((data_written - bytes_read) > 0)
{ {
flags= (uint) *(buf + UV_VAL_IS_NULL + UV_VAL_TYPE_SIZE + flags= (uint) *(buf + UV_VAL_IS_NULL + UV_VAL_TYPE_SIZE +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment