summaryrefslogtreecommitdiff
path: root/src/select
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-04-05 22:09:11 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-04-05 22:09:11 +0000
commitd12ddbec488a7b3ca5f79dcc8de17de18b82882f (patch)
treea352e59f91863da916c1a1fbf2ec9011ca8fa4d4 /src/select
parent7049f972404064683b156346f4267d1b5a676358 (diff)
downloadlibcss-d12ddbec488a7b3ca5f79dcc8de17de18b82882f.tar.gz
libcss-d12ddbec488a7b3ca5f79dcc8de17de18b82882f.tar.bz2
Fix RISC OS build
svn path=/trunk/libcss/; revision=10247
Diffstat (limited to 'src/select')
-rw-r--r--src/select/properties.c3
1 files changed, 2 insertions, 1 deletions
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);