diff options
author | portix <none@none> | 2012-11-08 23:53:10 +0100 |
---|---|---|
committer | portix <none@none> | 2012-11-08 23:53:10 +0100 |
commit | 826df17aa118f08cfb1cc00fa1c66036d15a53ca (patch) | |
tree | d9a3339fd80a1511fc8ea9e220d75204a91a5fe5 /src/scripts.c | |
parent | 8e730b559ce0d957b8a1f637a601c8a1c36b2d2a (diff) | |
download | dwb-826df17aa118f08cfb1cc00fa1c66036d15a53ca.zip |
Fixing wrong signal id type in connect_object
Diffstat (limited to 'src/scripts.c')
-rw-r--r-- | src/scripts.c | 2 |
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); } |