mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-04 14:30:13 +01:00
dix: Fix undefined shift in ht_generic_hash
The hits keep coming.
This commit is contained in:
parent
1e5f478b7e
commit
6fe7c43fa5
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ unsigned
|
|||
ht_generic_hash(void *cdata, const void *ptr, int numBits)
|
||||
{
|
||||
HtGenericHashSetupPtr setup = cdata;
|
||||
return one_at_a_time_hash(ptr, setup->keySize) & ~((~0) << numBits);
|
||||
return one_at_a_time_hash(ptr, setup->keySize) & ~((~0U) << numBits);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue