Commit a73b55a9 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Windows : fix a warning in popular header file

parent 434e2835
...@@ -174,7 +174,7 @@ page_zip_rec_needs_ext( ...@@ -174,7 +174,7 @@ page_zip_rec_needs_ext(
ulint zip_size) /*!< in: compressed page size in bytes, or 0 */ ulint zip_size) /*!< in: compressed page size in bytes, or 0 */
{ {
ut_ad(rec_size 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(ut_is_2pow(zip_size));
ut_ad(comp || !zip_size); ut_ad(comp || !zip_size);
......
...@@ -174,7 +174,7 @@ page_zip_rec_needs_ext( ...@@ -174,7 +174,7 @@ page_zip_rec_needs_ext(
ulint zip_size) /*!< in: compressed page size in bytes, or 0 */ ulint zip_size) /*!< in: compressed page size in bytes, or 0 */
{ {
ut_ad(rec_size 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(ut_is_2pow(zip_size));
ut_ad(comp || !zip_size); ut_ad(comp || !zip_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment