summaryrefslogtreecommitdiff
path: root/src/scripts.c
diff options
context:
space:
mode:
authorportix <none@none>2012-11-08 23:53:10 +0100
committerportix <none@none>2012-11-08 23:53:10 +0100
commit826df17aa118f08cfb1cc00fa1c66036d15a53ca (patch)
treed9a3339fd80a1511fc8ea9e220d75204a91a5fe5 /src/scripts.c
parent8e730b559ce0d957b8a1f637a601c8a1c36b2d2a (diff)
downloaddwb-826df17aa118f08cfb1cc00fa1c66036d15a53ca.zip
Fixing wrong signal id type in connect_object
Diffstat (limited to 'src/scripts.c')
-rw-r--r--src/scripts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts.c b/src/scripts.c
index 7d6be2c7..208223dd 100644
--- a/src/scripts.c
+++ b/src/scripts.c
@@ -1632,7 +1632,7 @@ connect_callback(JSObjectRef func) {
}
static JSValueRef
connect_object(JSContextRef ctx, JSObjectRef function, JSObjectRef this, size_t argc, const JSValueRef argv[], JSValueRef* exc) {
- gint id = -1;
+ gulong id = 0;
if (argc < 2) {
return JSValueMakeNumber(ctx, -1);
}