Modernize libc usage: stop using off_t, use modern printf.

C++ 14 is here, and old versions of MSVC and MSVCRT have
haunted us long enough.
This commit is contained in:
Markus F.X.J. Oberhumer
2021-01-05 18:52:05 +01:00
parent b4429e1a42
commit 700c8730cf
19 changed files with 130 additions and 1010 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ static void __acc_cdecl_va internal_error(const char *format, ...) {
va_list ap;
va_start(ap, format);
vsnprintf(buf, sizeof(buf), format, ap);
upx_vsnprintf(buf, sizeof(buf), format, ap);
va_end(ap);
throwInternalError(buf);