diff options
Diffstat (limited to 'sql/rpl_utility.cc')
-rw-r--r-- | sql/rpl_utility.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_utility.cc b/sql/rpl_utility.cc index d4616723117..c301dabcdb7 100644 --- a/sql/rpl_utility.cc +++ b/sql/rpl_utility.cc @@ -279,7 +279,7 @@ bool event_checksum_test(uchar *event_buf, ulong event_len, uint8 alg) { /* restoring the orig value of flags of FD */ DBUG_ASSERT(event_buf[EVENT_TYPE_OFFSET] == FORMAT_DESCRIPTION_EVENT); - event_buf[FLAGS_OFFSET]= flags; + event_buf[FLAGS_OFFSET]= (uchar) flags; } res= !(computed == incoming); } |