cogl: Fix signage miss match warnings
https://bugzilla.gnome.org/show_bug.cgi?id=768976
This commit is contained in:
parent
bf71cb2e3c
commit
bdc68efe45
@ -300,7 +300,7 @@ _cogl_bitmask_popcount_upto (const CoglBitmask *bitmask,
|
|||||||
{
|
{
|
||||||
if (_cogl_bitmask_has_array (bitmask))
|
if (_cogl_bitmask_has_array (bitmask))
|
||||||
return _cogl_bitmask_popcount_upto_in_array (bitmask, upto);
|
return _cogl_bitmask_popcount_upto_in_array (bitmask, upto);
|
||||||
else if (upto >= COGL_BITMASK_MAX_DIRECT_BITS)
|
else if (upto >= (int) COGL_BITMASK_MAX_DIRECT_BITS)
|
||||||
return _cogl_util_popcountl (_cogl_bitmask_to_bits (bitmask));
|
return _cogl_util_popcountl (_cogl_bitmask_to_bits (bitmask));
|
||||||
else
|
else
|
||||||
return _cogl_util_popcountl (_cogl_bitmask_to_bits (bitmask) &
|
return _cogl_util_popcountl (_cogl_bitmask_to_bits (bitmask) &
|
||||||
|
@ -112,7 +112,7 @@ _cogl_util_one_at_a_time_hash (unsigned int hash,
|
|||||||
size_t bytes)
|
size_t bytes)
|
||||||
{
|
{
|
||||||
const unsigned char *p = key;
|
const unsigned char *p = key;
|
||||||
int i;
|
size_t i;
|
||||||
|
|
||||||
for (i = 0; i < bytes; i++)
|
for (i = 0; i < bytes; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user