From ad0c132f2bcd8554a445c7c5687e79c35f872c5b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 25 Mar 2012 23:00:39 +0000 Subject: Fix strict aliasing warnings svn path=/trunk/netsurf/; revision=13712 --- css/select.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/select.c b/css/select.c index 3d0b0abca..6db206168 100644 --- a/css/select.c +++ b/css/select.c @@ -2119,7 +2119,7 @@ node_presentational_hint_padding_trbl(nscss_select_ctx *ctx, return CSS_BADPARM; } if (named_ancestor_node(ctx, node, &qs, - (void **)&tablenode) != CSS_OK) { + (void *)&tablenode) != CSS_OK) { /* Didn't find, or had error */ lwc_string_unref(qs.name); dom_string_unref(name); @@ -2326,7 +2326,7 @@ node_presentational_hint_border_trbl_width(nscss_select_ctx *ctx, return CSS_BADPARM; } if (named_ancestor_node(ctx, node, &qs, - (void **)&tablenode) != CSS_OK) { + (void *)&tablenode) != CSS_OK) { /* Didn't find, or had error */ lwc_string_unref(qs.name); dom_string_unref(name); @@ -2406,7 +2406,7 @@ node_presentational_hint_border_trbl_style(nscss_select_ctx *ctx, } if (named_ancestor_node(ctx, node, &qs, - (void **)&tablenode) != CSS_OK) { + (void *)&tablenode) != CSS_OK) { /* Didn't find, or had error */ lwc_string_unref(qs.name); dom_string_unref(name); @@ -2734,7 +2734,7 @@ node_presentational_hint_color(nscss_select_ctx *ctx, return CSS_BADPARM; } if (named_ancestor_node(ctx, node, &qs, - (void **)&bodynode) != CSS_OK) { + (void *)&bodynode) != CSS_OK) { /* Didn't find, or had error */ lwc_string_unref(qs.name); dom_string_unref(node_name); -- cgit v1.2.3