mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 14:18:21 +01:00
backward_references.c: Fixed compiler warning
"Implicit conversion loses integer precision: 'long' to 'int'." Change-Id: I1aec7431f84123e5280447883eb80b84a3821d91
This commit is contained in:
parent
1556da0913
commit
5ae220bef6
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user