backward_references: quiet double->int warning

since:
059aab4 Fix a compression regression for images with long uniform
regions.

Change-Id: I1783a74220961e8bc3bb42696e3412fe4bfc4ddb
This commit is contained in:
James Zern 2016-06-14 15:26:38 -07:00
parent a48cc9d201
commit 6fda58f137

View File

@ -1162,7 +1162,7 @@ static int BackwardReferencesHashChainDistanceOnly(
if (offset_cost == 0.) {
j_max = 1;
} else {
j_max = ceil(cost_manager->min_cost_cache_ / offset_cost);
j_max = (int)ceil(cost_manager->min_cost_cache_ / offset_cost);
}
// With the values we currently use for the model, offset_cost is