From 198648d8926722a5ae11a8a60f7ce82688b2ded5 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 2 Mar 2009 18:37:50 +0000 Subject: Reduce code duplication svn path=/trunk/libcss/; revision=6671 --- src/select/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/select/hash.c b/src/select/hash.c index f471861..1db65ea 100644 --- a/src/select/hash.c +++ b/src/select/hash.c @@ -301,7 +301,7 @@ css_error css_selector_hash_iterate(css_selector_hash *hash, */ uint32_t _hash(const css_selector *sel) { - return (uint32_t) (((uintptr_t) sel->data.name) & 0xffffffff); + return _hash_name(sel->data.name); } /** -- cgit v1.2.3