[X2serv-cvs] CVS: x2/source support.c,1.6,1.7
Brought to you by:
sirvulcan
From: Alex S. <ru...@us...> - 2001-04-02 21:27:13
|
Update of /cvsroot/x2serv/x2/source In directory usw-pr-cvs1:/tmp/cvs-serv28273 Modified Files: support.c Log Message: Some (newer?) versions of gcc wont compile va_arg calls with "short" or "char". Index: support.c =================================================================== RCS file: /cvsroot/x2serv/x2/source/support.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** support.c 2000/08/22 02:19:25 1.6 --- support.c 2001/04/02 21:27:08 1.7 *************** *** 200,204 **** case 'X': if (argsize == 1) ! intval = va_arg(args, short); else if (argsize == 2) intval = va_arg(args, long); --- 200,204 ---- case 'X': if (argsize == 1) ! intval = va_arg(args, int); else if (argsize == 2) intval = va_arg(args, long); *************** *** 211,215 **** break; case 'c': ! intval = va_arg(args, unsigned char); valid = 1; break; --- 211,215 ---- break; case 'c': ! intval = va_arg(args, int); valid = 1; break; |