(svn r19158) -Fix (r19149): MSVC 64 bits compile warning

This commit is contained in:
rubidium 2010-02-18 01:10:04 +00:00
parent f02d6783e9
commit 3c5d19e411
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap)
/* The buffer is too small for _vsnprintf to write the
* null-terminator at its end and return size. */
str[size - 1] = '\0';
return size;
return (int)size;
}
#endif /* _MSC_VER */