Fix compilation warning in ginvoke.c
authorColin Walters <walters@verbum.org>
Wed, 16 Dec 2009 23:16:31 +0000 (18:16 -0500)
committerColin Walters <walters@verbum.org>
Wed, 16 Dec 2009 23:17:12 +0000 (18:17 -0500)
girepository/ginvoke.c

index 136860c..bf89d6c 100644 (file)
@@ -436,7 +436,7 @@ gi_cclosure_marshal_generic (GClosure *closure,
   if (ffi_prep_cif (&cif, FFI_DEFAULT_ABI, n_args, rtype, atypes) != FFI_OK)
     return;
 
-  g_return_val_if_fail (rvalue, FALSE);
+  g_return_if_fail (rvalue != NULL);
   ffi_call (&cif, marshal_data ? marshal_data : cc->callback, rvalue, args);
 
   if (return_gvalue && G_VALUE_TYPE (return_gvalue))