From: Terry R. Friedrichsen (terry_at_venus.sunquest.com)
Date: Wed Jan 03 2001 - 14:50:28 GMT
Under RedHat Linux 7.0 with gcc (egcs) 2.96: To get rid of warnings that "..." automatically promotes to int: *** formf.c.dist Wed Sep 30 16:57:16 1998 --- formf.c Fri Dec 29 08:22:13 2000 *************** *** 347,353 **** case 'd': case 'i': if (modifier == 'h') ! i = va_arg(args, short); else if (modifier == 'l') i = va_arg(args, long); else --- 347,353 ---- case 'd': case 'i': if (modifier == 'h') ! i = va_arg(args, int /* short */); else if (modifier == 'l') i = va_arg(args, long); else *************** *** 395,401 **** case 'u': base = 10; gencase: if (modifier == 'h') ! u = va_arg(args, short); else if (modifier == 'l') u = va_arg(args, long); else --- 395,401 ---- case 'u': base = 10; gencase: if (modifier == 'h') ! u = va_arg(args, int /* short */); else if (modifier == 'l') u = va_arg(args, long); else Terry R. Friedrichsen terry_at_venus.sunquest.com
This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:33 GMT