diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-02 18:37:50 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-02 18:37:50 +0000 |
commit | 198648d8926722a5ae11a8a60f7ce82688b2ded5 (patch) | |
tree | 188e47d3e0528bc1746b50791ca4cf0e00c5996a | |
parent | 0d248200f10cee87ba12a8de9cb50eac00d6cd07 (diff) | |
download | libcss-198648d8926722a5ae11a8a60f7ce82688b2ded5.tar.gz libcss-198648d8926722a5ae11a8a60f7ce82688b2ded5.tar.bz2 |
Reduce code duplication
svn path=/trunk/libcss/; revision=6671
-rw-r--r-- | src/select/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /** |