type in purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_UINT()(signal.c)

Oleg Sukhodolsky son.two at gmail.com
Thu Jul 12 17:19:58 EDT 2007


Just noticed that incorrect cast is used in
purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_UINT() - wrong
order of parameters.  Here is a fix:


#
# old_revision [e709c33db4b4041ab286a58f0a09164acc806116]
#
# patch "libpurple/signals.c"
#  from [b4005f85ea669e7b6ba439ba74277bc5feebc3bd]
#    to [037b01581958350ee159f13e77eb8a030281d14f]
#
============================================================
--- libpurple/signals.c b4005f85ea669e7b6ba439ba74277bc5feebc3bd
+++ libpurple/signals.c 037b01581958350ee159f13e77eb8a030281d14f
@@ -943,7 +943,7 @@ purple_marshal_BOOLEAN__POINTER_POINTER_
        guint arg5 = va_arg(args, guint);

        ret_val =
-               ((gboolean (*)(void *, void *, void *, void *, void *,
guint))cb)(
+               ((gboolean (*)(void *, void *, void *, void *, guint,
void *))cb)(
                        arg1, arg2, arg3, arg4, arg5, data);

        if (return_val != NULL)

Regards, Oleg.




More information about the Devel mailing list