(svn r2984) Use adequate types, this should aid portability a bit

This commit is contained in:
tron
2005-09-25 09:04:59 +00:00
parent 03ad234d47
commit c2c865e4b9
7 changed files with 14 additions and 11 deletions

View File

@@ -57,7 +57,8 @@ void CDECL AddTextMessage(uint16 color, uint8 duration, const char *message, ...
{
char buf[MAX_TEXTMESSAGE_LENGTH];
va_list va;
int i, length;
size_t length;
uint i;
va_start(va, message);
vsnprintf(buf, lengthof(buf), message, va);