diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-03-10 19:06:33 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-03-10 19:07:07 +0000 |
commit | f2fe5cb2825144dcd8d2383bd38bc83fa4eafdf1 (patch) | |
tree | 531533b08d1e6a9d70ee7bbb835fce837c8de8bb /sql/datadict.cc | |
parent | 7c512138a19abd4d8e8761b1f0eb2bd8c9809a28 (diff) | |
download | mariadb-git-f2fe5cb2825144dcd8d2383bd38bc83fa4eafdf1.tar.gz |
Fix several compile warnings on Windows
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))) |