eliminate warning

This commit is contained in:
David Rose 2006-11-03 01:52:02 +00:00
parent 4d9f4785c7
commit eeacc3fb26
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ pack_int(DCPackData &pack_data, int value,
bool &pack_error, bool &range_error) const {
int int_value = value * _divisor;
if (value != 0 && (int_value / value) != _divisor) {
if (value != 0 && (int_value / value) != (int)_divisor) {
// If we've experienced overflow after applying the divisor, pack
// it as an int64 instead.
pack_int64(pack_data, (PN_int64)value, pack_error, range_error);