summaryrefslogtreecommitdiff
path: root/src/select/properties.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-09-28 18:29:33 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-09-28 18:29:33 +0000
commit120854ccb2e12e2306c42bfef2a355c5f60699e9 (patch)
tree877e2bd34f0474d0c44c5a9f2a79f6c74e75ca1e /src/select/properties.c
parentcd8e627ac75b7bb8db3a0176bd1643441a42536d (diff)
downloadlibcss-120854ccb2e12e2306c42bfef2a355c5f60699e9.tar.gz
libcss-120854ccb2e12e2306c42bfef2a355c5f60699e9.tar.bz2
Fix destruction of bytecode for the clip property.
svn path=/trunk/libcss/; revision=10856
Diffstat (limited to 'src/select/properties.c')
-rw-r--r--src/select/properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/properties.c b/src/select/properties.c
index 29f87f6..58d94aa 100644
--- a/src/select/properties.c
+++ b/src/select/properties.c
@@ -1368,7 +1368,7 @@ uint32_t destroy_clip(void *bytecode)
{
uint32_t value = getValue(*((uint32_t*)bytecode));
bool has_rect = value & CLIP_SHAPE_RECT;
- bool nonautos = 0;
+ int nonautos = 0;
if (has_rect) {
if ((value & CLIP_RECT_TOP_AUTO) == 0)