From 120854ccb2e12e2306c42bfef2a355c5f60699e9 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 28 Sep 2010 18:29:33 +0000 Subject: Fix destruction of bytecode for the clip property. svn path=/trunk/libcss/; revision=10856 --- src/select/properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3