summaryrefslogtreecommitdiff
path: root/sql/rpl_utility.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/rpl_utility.cc')
-rw-r--r--sql/rpl_utility.cc2
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);
}