diff options
Diffstat (limited to 'sql/datadict.cc')
-rw-r--r-- | sql/datadict.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/datadict.cc b/sql/datadict.cc index 287e8568d90..c1e1e85c377 100644 --- a/sql/datadict.cc +++ b/sql/datadict.cc @@ -94,7 +94,7 @@ frm_type_enum dd_frm_type(THD *thd, char *path, enum legacy_db_type *dbt) if (mysql_file_seek(file, 0, SEEK_SET, MYF(MY_WME))) goto err; - if (read_string(file, &frm_image, state.st_size)) + if (read_string(file, &frm_image, (size_t)state.st_size)) goto err; if ((n_length= uint4korr(frm_image+55))) |