diff options
Diffstat (limited to 'sql/mf_iocache.cc')
-rw-r--r-- | sql/mf_iocache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mf_iocache.cc b/sql/mf_iocache.cc index 47c00a8ac00..7f85cc06f57 100644 --- a/sql/mf_iocache.cc +++ b/sql/mf_iocache.cc @@ -320,7 +320,7 @@ int _my_b_net_read(register IO_CACHE *info, byte *Buffer, read_length=my_net_read(net); if (read_length == (int) packet_error) { - info->error=(uint) -1; + info->error= -1; return 1; } if (read_length == 0) |