[jscore] Fix compilation warning
authorKalle Vahlman <kalle.vahlman@movial.com>
Tue, 11 Nov 2008 11:20:58 +0000 (13:20 +0200)
committerKalle Vahlman <kalle.vahlman@movial.com>
Tue, 11 Nov 2008 11:20:58 +0000 (13:20 +0200)
jscorebus/jscorebus-signature.c

index 5acdf29..73f5a23 100644 (file)
@@ -162,7 +162,7 @@ char *jsvalue_to_signature(JSContextRef context,
         }
 
         /* Default conversion is to dict */
-        propnames = JSObjectCopyPropertyNames(context, jsvalue);
+        propnames = JSObjectCopyPropertyNames(context, (JSObjectRef)jsvalue);
         jsdict_get_signature(context, jsvalue, propnames, &dict_signature);
         if (dict_signature != NULL)
         {