From 373e4e3cd028c75ab35b9d1407cdff1af5b445d9 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 13 Dec 2013 20:56:40 +0000 Subject: Hideous casing to avoid warning (treated as error) with RO toolchain. --- src/select/select.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/select/select.c b/src/select/select.c index 06ed2bf..7731258 100644 --- a/src/select/select.c +++ b/src/select/select.c @@ -485,8 +485,10 @@ css_error css_select_style(css_select_ctx *ctx, void *node, /* Get parent node's bloom filter */ if (parent != NULL) { /* Get parent bloom filter */ + /* Hideous casting to avoid warnings on all platforms + * we build for. */ error = handler->get_libcss_node_data(pw, parent, - (void **) &state.bloom); + (void **) (void *) &state.bloom); if (error != CSS_OK) goto cleanup; /* TODO: -- cgit v1.2.3