Skip to content

Commit ccc48b4

Browse files
committed
Fixed window warning
1 parent 3d617fd commit ccc48b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/log_event_server.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ bool Query_log_event::write()
11371137
if (catalog_len) // i.e. this var is inited (false for 4.0 events)
11381138
{
11391139
store_str_with_code_and_len(&start,
1140-
catalog, catalog_len, Q_CATALOG_NZ_CODE);
1140+
catalog, catalog_len, (uint) Q_CATALOG_NZ_CODE);
11411141
/*
11421142
In 5.0.x where x<4 masters we used to store the end zero here. This was
11431143
a waste of one byte so we don't do it in x>=4 masters. We change code to

0 commit comments

Comments
 (0)