Subject: Re: GAIM compile error

From: Josh Huber <[email-masked]>
Date: Thu, 6 Jul 2000 13:19:49 -0400

that was a little silly, here's the non reversed patch...

-- 
Josh
6B21489A | GnuPG ID/Fingerprint | [email-masked] |
61F0 6138 BE7B FEBF A223  E9D1 BFE1 2065 6B21 489A
--- oscar.c.orig	Thu Jul  6 13:11:09 2000
+++ oscar.c	Thu Jul  6 13:12:42 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     = va_arg(ap, u_short);
-		flag2     = va_arg(ap, u_short);
+		flag1     = (u_short)va_arg(ap, u_int);
+		flag2     = (u_short)va_arg(ap, u_int);
 		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 = va_arg(ap, u_short);
+	infotype = (u_short)va_arg(ap, u_int);
 	va_end(ap);
 
 	if (prof == NULL || !strlen(prof)) {
@@ -655,7 +655,7 @@
 	va_list ap;
 
 	va_start(ap, command);
-	id  = va_arg(ap, u_short);
+	id  = (u_short)va_arg(ap, u_int);
 	msg = va_arg(ap, char *);
 	va_end(ap);
 
@@ -674,7 +674,7 @@
 	u_short type;
 
 	va_start(ap, command);
-	type = va_arg(ap, u_short);
+	type = (u_short)va_arg(ap, u_int);
 
 	switch(type) {
 		case 0x0002: {