GAIM compile error
Josh Huber
huber at mclinux.com
Fri Jul 7 03:14:09 EST 2000
On Thu, Jul 06, 2000 at 01:01:20PM -0400, Peter R. Wood wrote:
>
> Hello,
>
> I've contacted the authors of GAIM regarding this problem, but they don't
> seem to have a clue about it so I thought I'd submit it here. I'm trying
> to compile GAIM, the AOL instant messenger clone, from its CVS source. I
> get this error during the compile:
[snip]
grr, more va_arg errors :)
Attached is a patch that I'll forward onto the maintainer.
--
Josh
6B21489A | GnuPG ID/Fingerprint | huber at mclx.com |
61F0 6138 BE7B FEBF A223 E9D1 BFE1 2065 6B21 489A
-------------- next part --------------
--- oscar.c Thu Jul 6 13:12:42 2000
+++ oscar.c.orig Thu Jul 6 13:11:09 2000
@@ -534,8 +534,8 @@
userinfo = va_arg(ap, struct aim_userinfo_s *);
msg = va_arg(ap, char *);
icbmflags = va_arg(ap, u_int);
- flag1 = (u_short)va_arg(ap, u_int);
- flag2 = (u_short)va_arg(ap, u_int);
+ flag1 = va_arg(ap, u_short);
+ flag2 = va_arg(ap, u_short);
va_end(ap);
serv_got_im(userinfo->sn, msg, icbmflags & AIM_IMFLAGS_AWAY);
@@ -624,7 +624,7 @@
info = va_arg(ap, struct aim_userinfo_s *);
prof_enc = va_arg(ap, char *);
prof = va_arg(ap, char *);
- infotype = (u_short)va_arg(ap, u_int);
+ infotype = va_arg(ap, u_short);
va_end(ap);
if (prof == NULL || !strlen(prof)) {
@@ -655,7 +655,7 @@
va_list ap;
va_start(ap, command);
- id = (u_short)va_arg(ap, u_int);
+ id = va_arg(ap, u_short);
msg = va_arg(ap, char *);
va_end(ap);
@@ -674,7 +674,7 @@
u_short type;
va_start(ap, command);
- type = (u_short)va_arg(ap, u_int);
+ type = va_arg(ap, u_short);
switch(type) {
case 0x0002: {
More information about the Linuxppc-dev
mailing list