linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Josh Huber <huber@mclinux.com>
To: "Peter R. Wood" <pwood@gordon.edu>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: GAIM compile error
Date: Thu, 6 Jul 2000 13:14:09 -0400	[thread overview]
Message-ID: <20000706131409.C820@mclx.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0007061254230.8579-100000@dyn-133-196.gordon.edu>; from pwood@gordon.edu on Thu, Jul 06, 2000 at 01:01:20PM -0400


[-- Attachment #1.1: Type: text/plain, Size: 567 bytes --]

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@mclx.com |
61F0 6138 BE7B FEBF A223  E9D1 BFE1 2065 6B21 489A

[-- Attachment #1.2: gaim.diff --]
[-- Type: text/plain, Size: 1095 bytes --]

--- 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: {

[-- Attachment #2: Type: application/pgp-signature, Size: 0 bytes --]

  reply	other threads:[~2000-07-06 17:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-06 17:01 GAIM compile error Peter R. Wood
2000-07-06 17:14 ` Josh Huber [this message]
2000-07-06 17:19   ` Josh Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000706131409.C820@mclx.com \
    --to=huber@mclinux.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=pwood@gordon.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).