Mercurial > pidgin.yaz
diff libpurple/plugins/perl/perl-handlers.c @ 29410:6288bbd53f44
Pass around a va_list instead of a pointer to a va_list. Refs #7404
This gets rid of a compile warning for me on x86_64. I don't have
an i386 box to test on, but every bit of evidence I can find tells me
that it's totally fine to pass around a va_list. We do it in status.c
If this breaks compilation for you or you get a warning from perl-handlers.c
then pleaes let me know! Or just disapprove this
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 10 Feb 2010 09:04:15 +0000 |
parents | f0d103b366df |
children | 1e4781fb144b |
line wrap: on
line diff
--- a/libpurple/plugins/perl/perl-handlers.c Wed Feb 10 07:09:52 2010 +0000 +++ b/libpurple/plugins/perl/perl-handlers.c Wed Feb 10 09:04:15 2010 +0000 @@ -298,11 +298,7 @@ for (i = 0; i < value_count; i++) { sv_args[i] = purple_perl_sv_from_vargs(values[i], -#ifdef VA_COPY_AS_ARRAY args, -#else - (va_list*)&args, -#endif ©_args[i]); XPUSHs(sv_args[i]);