summaryrefslogtreecommitdiff
path: root/include/resource.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2019-10-15 13:08:57 -0400
committerAdam Jackson <ajax@redhat.com>2019-10-15 14:06:21 -0400
commit1e5f478b7e1183d38ad07d1f5e68fdc9680f2eb8 (patch)
tree846f1294a67e9258334af93b4e0c1d0a3ab5b385 /include/resource.h
parent3671a3ee88dac3cf1a301adf27dc2b43b069815b (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.h3
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 */