Fixed short int / int compiler warnings in va_arg() usage
commit533ad503fe561caa9411801a0988d884ab848a56
authorChris Frey <cdfrey@foursquare.net>
Wed, 5 Sep 2012 19:25:16 +0000 (5 15:25 -0400)
committerChris Frey <cdfrey@foursquare.net>
Wed, 5 Sep 2012 19:25:16 +0000 (5 15:25 -0400)
treea3047e7f242ecfd6a14b90f069a05fcc2fb88092
parenteb706c362ca6c96a923e8acfd31859efa617fe00
Fixed short int / int compiler warnings in va_arg() usage

Compiler warned:

../compat/snprintf.c:232: warning: 'short int' is promoted to 'int' when passed through '...'
../compat/snprintf.c:232: note: (so you should pass 'int' not 'short int' to 'va_arg')
../compat/snprintf.c:232: note: if this code is reached, the program will abort
compat/snprintf.c