Fix strict aliasing warnings

svn path=/trunk/netsurf/; revision=13712
This commit is contained in:
John Mark Bell 2012-03-25 23:00:39 +00:00
parent 9b08752807
commit ad0c132f2b
1 changed files with 4 additions and 4 deletions

View File

@ -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);