OpenAFS CVS Commit: openafs/src/util by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 01 Jul 2003 18:55:12 EDT


Update of /data/cvs/openafs/src/util
In directory GRAND.CENTRAL.ORG:/data/sb/openafs/src/util

Modified Files:
	snprintf.c 
Log Message:
DELTA snprintf-varargs-fun-20030701
AUTHOR shadow@dementia.org
FIXES

this probably needs a better fix. however, one some platforms, we see:
./snprintf.c: In function `afs_vsnprintf':
./snprintf.c:227: `short int' is promoted to `int' when passed through `...'
./snprintf.c:227: (so you should pass `int' not `short int' to `va_arg')

and it won't compile. are there platforms where short is correct?


--- DELTA config follows ---
snprintf-varargs-fun-20030701 openafs/src/util/snprintf.c 1.15 1.16