branches/zip:

Cast to  ib_uint64_t the mask for align down before doing the '~' operation on it.

Reviewed by: Heikki
This commit is contained in:
inaam 2008-01-22 18:50:44 +00:00
parent 793b1fe3fb
commit 5c087094e3

View file

@ -274,7 +274,7 @@ ut_uint64_align_down(
ut_ad(align_no > 0);
ut_ad(ut_is_2pow(align_no));
return(n & (ib_uint64_t) ~(align_no - 1));
return(n & ~((ib_uint64_t) align_no - 1));
}
/************************************************************