From d12ddbec488a7b3ca5f79dcc8de17de18b82882f Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 5 Apr 2010 22:09:11 +0000 Subject: Fix RISC OS build svn path=/trunk/libcss/; revision=10247 --- src/select/properties.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/select/properties.c') diff --git a/src/select/properties.c b/src/select/properties.c index 5342964..4338cb8 100644 --- a/src/select/properties.c +++ b/src/select/properties.c @@ -69,7 +69,8 @@ static uint32_t generic_destroy_uri(void *bytecode) bool has_uri = (getValue(*((uint32_t*)bytecode)) & BACKGROUND_IMAGE_URI) == BACKGROUND_IMAGE_URI; if (has_uri) { - lwc_string *str = *(lwc_string **)(((uint8_t*)bytecode) + sizeof(uint32_t)); + void *vstr = (((uint8_t*)bytecode) + sizeof(uint32_t)); + lwc_string *str = *(lwc_string **) vstr; lwc_string_unref(str); } return sizeof(uint32_t) + (has_uri ? sizeof(lwc_string*) : 0); -- cgit v1.2.3