mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
dix: Fix undefined shift in HashResourceID
Again, we need all of the bits of an unsigned int to make this work.
This commit is contained in:
@@ -270,7 +270,6 @@ extern _X_EXPORT RESTYPE TypeMask;
|
||||
of bits by either masking numBits lower bits of the ID or by
|
||||
providing at most MAXHASHSIZE hashes.
|
||||
*/
|
||||
extern _X_EXPORT int HashResourceID(XID id,
|
||||
int numBits);
|
||||
extern _X_EXPORT int HashResourceID(XID id, unsigned int numBits);
|
||||
|
||||
#endif /* RESOURCE_H */
|
||||
|
||||
Reference in New Issue
Block a user