diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-05-16 22:30:27 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-05-16 22:30:27 +0000 |
commit | 3bcbde250310787a2ad763b22a3f77305ac46359 (patch) | |
tree | 98721a88cf005340fb407c599c0fb381a402dd65 /render | |
parent | b8fd68db1b602fe224da8fd2efb61c3e2a0ceda3 (diff) | |
download | netsurf-3bcbde250310787a2ad763b22a3f77305ac46359.tar.gz netsurf-3bcbde250310787a2ad763b22a3f77305ac46359.tar.bz2 |
Add some parentheses
svn path=/trunk/netsurf/; revision=12423
Diffstat (limited to 'render')
-rw-r--r-- | render/hubbub_binding.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/render/hubbub_binding.c b/render/hubbub_binding.c index f050862a0..a35ebb3ab 100644 --- a/render/hubbub_binding.c +++ b/render/hubbub_binding.c @@ -468,12 +468,12 @@ hubbub_error ref_node(void *ctx, void *node) xmlDoc *n = (xmlDoc *) node; uintptr_t count = (uintptr_t) n->_private; - n->_private = (void *) ++count; + n->_private = (void *) (++count); } else { xmlNode *n = (xmlNode *) node; uintptr_t count = (uintptr_t) n->_private; - n->_private = (void *) ++count; + n->_private = (void *) (++count); } return HUBBUB_OK; @@ -489,14 +489,14 @@ hubbub_error unref_node(void *ctx, void *node) assert(count != 0 && "Node has refcount of zero"); - n->_private = (void *) --count; + n->_private = (void *) (--count); } else { xmlNode *n = (xmlNode *) node; uintptr_t count = (uintptr_t) n->_private; assert(count != 0 && "Node has refcount of zero"); - n->_private = (void *) --count; + n->_private = (void *) (--count); if (count == 0 && n->parent == NULL) { xmlFreeNode(n); |