mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-03-10 04:31:16 +00:00
public: oops, fix broken crtlib
This commit is contained in:
parent
d25a661701
commit
29902f48d5
@ -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 )
|
int Q_vsnprintf( char *buffer, size_t buffersize, const char *format, va_list args )
|
||||||
{
|
{
|
||||||
size_t result;
|
int result;
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
result = vsnprintf( buffer, buffersize, format, args );
|
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 )
|
void COM_FileBase( const char *in, char *out )
|
||||||
{
|
{
|
||||||
size_t len, start, end;
|
int len, start, end;
|
||||||
|
|
||||||
len = Q_strlen( in );
|
len = Q_strlen( in );
|
||||||
if( !len ) return;
|
if( !len ) return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user