From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 6 Jul 2000 13:19:49 -0400 From: Josh Huber To: "Peter R. Wood" Cc: linuxppc-dev@lists.linuxppc.org Subject: Re: GAIM compile error Message-ID: <20000706131948.E820@mclx.com> References: <20000706131409.C820@mclx.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="SdvjNjn6lL3tIsv0" In-Reply-To: <20000706131409.C820@mclx.com>; from huber@mclinux.com on Thu, Jul 06, 2000 at 01:14:09PM -0400 Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: --SdvjNjn6lL3tIsv0 Content-Type: multipart/mixed; boundary="w/VI3ydZO+RcZ3Ux" Content-Disposition: inline --w/VI3ydZO+RcZ3Ux Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable that was a little silly, here's the non reversed patch... --=20 Josh 6B21489A | GnuPG ID/Fingerprint | huber@mclx.com | 61F0 6138 BE7B FEBF A223 E9D1 BFE1 2065 6B21 489A --w/VI3ydZO+RcZ3Ux Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gaim.diff" Content-Transfer-Encoding: quoted-printable --- oscar.c.orig Thu Jul 6 13:11:09 2000 +++ oscar.c Thu Jul 6 13:12:42 2000 @@ -534,8 +534,8 @@ userinfo =3D va_arg(ap, struct aim_userinfo_s *); msg =3D va_arg(ap, char *); icbmflags =3D va_arg(ap, u_int); - flag1 =3D va_arg(ap, u_short); - flag2 =3D va_arg(ap, u_short); + flag1 =3D (u_short)va_arg(ap, u_int); + flag2 =3D (u_short)va_arg(ap, u_int); va_end(ap); =20 serv_got_im(userinfo->sn, msg, icbmflags & AIM_IMFLAGS_AWAY); @@ -624,7 +624,7 @@ info =3D va_arg(ap, struct aim_userinfo_s *); prof_enc =3D va_arg(ap, char *); prof =3D va_arg(ap, char *); - infotype =3D va_arg(ap, u_short); + infotype =3D (u_short)va_arg(ap, u_int); va_end(ap); =20 if (prof =3D=3D NULL || !strlen(prof)) { @@ -655,7 +655,7 @@ va_list ap; =20 va_start(ap, command); - id =3D va_arg(ap, u_short); + id =3D (u_short)va_arg(ap, u_int); msg =3D va_arg(ap, char *); va_end(ap); =20 @@ -674,7 +674,7 @@ u_short type; =20 va_start(ap, command); - type =3D va_arg(ap, u_short); + type =3D (u_short)va_arg(ap, u_int); =20 switch(type) { case 0x0002: { --w/VI3ydZO+RcZ3Ux-- --SdvjNjn6lL3tIsv0 Content-Type: application/pgp-signature Content-Disposition: inline --SdvjNjn6lL3tIsv0-- ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/