summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/select/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/hash.c b/src/select/hash.c
index 1db65ea..62d5136 100644
--- a/src/select/hash.c
+++ b/src/select/hash.c
@@ -312,6 +312,6 @@ uint32_t _hash(const css_selector *sel)
*/
uint32_t _hash_name(lwc_string *name)
{
- return (uint32_t) (((uintptr_t) name) & 0xffffffff);
+ return lwc_string_hash_value(name);
}