projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update consumerd search paths comment
[lttng-tools.git]
/
hashtable
/
hash.c
diff --git
a/hashtable/hash.c
b/hashtable/hash.c
index cee40e6ea20095ff6783fa52a2b3275b5c590cc8..12f76d834e0a12ba7269d0f80227b4f3985f093b 100644
(file)
--- a/
hashtable/hash.c
+++ b/
hashtable/hash.c
@@
-454,9
+454,9
@@
unsigned long hash_key(void *_key, size_t length, unsigned long seed)
*/
unsigned long hash_key(void *_key, size_t length, unsigned long seed)
{
*/
unsigned long hash_key(void *_key, size_t length, unsigned long seed)
{
- u
nsigned long key = (unsigned long
) _key;
+ u
int32_t key = (uint32_t
) _key;
- assert(length == sizeof(u
nsigned long
));
+ assert(length == sizeof(u
int32_t
));
return hashword(&key, 1, seed);
}
#endif
return hashword(&key, 1, seed);
}
#endif
This page took
0.024222 seconds
and
4
git commands to generate.