snprintf-varargs-fun-20030701
authorDerrick Brashear <shadow@dementia.org>
Tue, 1 Jul 2003 23:55:12 +0000 (23:55 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 1 Jul 2003 23:55:12 +0000 (23:55 +0000)
commit526316e97b0eb6e60789c2ce46a9183542c04682
tree280592684f43364c1c7f4c2a00127285a0cf7c11
parent3f8b428d52feb45e6d2dc3577c7c38306c98e0d8
snprintf-varargs-fun-20030701

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?
src/util/snprintf.c