diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-09-15 16:19:14 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-09-15 16:20:38 +0000 |
commit | a73b55a9f8a7d469f8b88a5b59f5b10744a6ce7e (patch) | |
tree | b2c51e7c994eaa099184291f7502529d46b90b68 /storage/xtradb | |
parent | 434e283507e5e73d6b3873fff50daddb99cea4d6 (diff) | |
download | mariadb-git-a73b55a9f8a7d469f8b88a5b59f5b10744a6ce7e.tar.gz |
Windows : fix a warning in popular header file
Diffstat (limited to 'storage/xtradb')
-rw-r--r-- | storage/xtradb/include/page0zip.ic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/include/page0zip.ic b/storage/xtradb/include/page0zip.ic index 9a583086925..628f8443312 100644 --- a/storage/xtradb/include/page0zip.ic +++ b/storage/xtradb/include/page0zip.ic @@ -174,7 +174,7 @@ page_zip_rec_needs_ext( ulint zip_size) /*!< in: compressed page size in bytes, or 0 */ { ut_ad(rec_size - > (comp ? REC_N_NEW_EXTRA_BYTES : REC_N_OLD_EXTRA_BYTES)); + > (ulint)(comp ? REC_N_NEW_EXTRA_BYTES : REC_N_OLD_EXTRA_BYTES)); ut_ad(ut_is_2pow(zip_size)); ut_ad(comp || !zip_size); |