diff options
author | Adam Jackson <ajax@redhat.com> | 2019-10-15 13:08:57 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2019-10-15 14:06:21 -0400 |
commit | 1e5f478b7e1183d38ad07d1f5e68fdc9680f2eb8 (patch) | |
tree | 846f1294a67e9258334af93b4e0c1d0a3ab5b385 /include/resource.h | |
parent | 3671a3ee88dac3cf1a301adf27dc2b43b069815b (diff) |
dix: Fix undefined shift in HashResourceID
Again, we need all of the bits of an unsigned int to make this work.
Diffstat (limited to 'include/resource.h')
-rw-r--r-- | include/resource.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/resource.h b/include/resource.h index 5871a4cb4..6caf846c4 100644 --- a/include/resource.h +++ b/include/resource.h @@ -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 */ |