From 29902f48d58036ad41a58e0d50e8095425d6c918 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 10 Mar 2021 13:38:36 +0300 Subject: [PATCH] public: oops, fix broken crtlib --- public/crtlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/crtlib.c b/public/crtlib.c index 58e936f7..33128253 100644 --- a/public/crtlib.c +++ b/public/crtlib.c @@ -554,7 +554,7 @@ char *Q_stristr( const char *string, const char *string2 ) int Q_vsnprintf( char *buffer, size_t buffersize, const char *format, va_list args ) { - size_t result; + int result; #ifndef _MSC_VER result = vsnprintf( buffer, buffersize, format, args ); @@ -746,7 +746,7 @@ Extracts the base name of a file (no path, no extension, assumes '/' as path sep */ void COM_FileBase( const char *in, char *out ) { - size_t len, start, end; + int len, start, end; len = Q_strlen( in ); if( !len ) return;