diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2012-03-24 22:30:28 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2012-03-24 22:30:28 +0000 |
commit | d00b3c79c845cab8d8aac016d28071bdd9432ec2 (patch) | |
tree | 78e5d73bb94a20b9c48cc78ec2e207190cdb7c82 /render/box_construct.c | |
parent | a195282bfbf5eacc0f8c2943f52a75b7d8b09ea8 (diff) | |
download | netsurf-d00b3c79c845cab8d8aac016d28071bdd9432ec2.tar.gz netsurf-d00b3c79c845cab8d8aac016d28071bdd9432ec2.tar.bz2 |
Squash aliasing warnings
svn path=/trunk/netsurf/; revision=13640
Diffstat (limited to 'render/box_construct.c')
-rw-r--r-- | render/box_construct.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/render/box_construct.c b/render/box_construct.c index 7176350eb..da35312ce 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -229,7 +229,7 @@ static inline struct box *box_for_node(dom_node *n) struct box *box = NULL; dom_exception err; - err = dom_node_get_user_data(n, kstr_box_key, &box); + err = dom_node_get_user_data(n, kstr_box_key, (void *) &box); if (err != DOM_NO_ERR) return NULL; @@ -885,7 +885,8 @@ bool box_construct_element(struct box_construct_ctx *ctx, } /* Attach box to DOM node */ - err = dom_node_set_user_data(ctx->n, kstr_box_key, box, NULL, &old_box); + err = dom_node_set_user_data(ctx->n, kstr_box_key, box, NULL, + (void *) &old_box); if (err != DOM_NO_ERR) return false; @@ -2922,7 +2923,7 @@ bool box_embed(BOX_SPECIAL_PARAMS) dom_attr *attr; dom_string *name, *value; - err = dom_namednodemap_item(attrs, idx, &attr); + err = dom_namednodemap_item(attrs, idx, (void *) &attr); if (err != DOM_NO_ERR) { dom_namednodemap_unref(attrs); return false; |