backward_references.c: Fixed compiler warning

"Implicit conversion loses integer precision: 'long' to 'int'."

Change-Id: I1aec7431f84123e5280447883eb80b84a3821d91
This commit is contained in:
Scott Hancher 2015-12-02 17:17:57 +00:00 committed by James Zern
parent 1556da0913
commit 5ae220bef6

View File

@ -88,7 +88,7 @@ static WEBP_INLINE int FindMatchLength(const uint32_t* const array1,
} else {
// if the uint32_t pointed to are the same, then the following ones have
// to be different
return (array1_32 - array1) + (*array1_32 == *array2_32);
return (int)((array1_32 - array1) + (*array1_32 == *array2_32));
}
}