mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 09:56:22 +01:00
public: strlen must return size_t, not int
This commit is contained in:
parent
0a818f3f3f
commit
6cc2205321
@ -60,7 +60,7 @@ qboolean Q_isdigit( const char *str )
|
||||
return false;
|
||||
}
|
||||
|
||||
int Q_strlen( const char *string )
|
||||
size_t Q_strlen( const char *string )
|
||||
{
|
||||
int len;
|
||||
const char *p;
|
||||
|
@ -45,7 +45,7 @@ enum
|
||||
void Q_strnupr( const char *in, char *out, size_t size_out );
|
||||
#define Q_strlwr( in, out ) Q_strnlwr( in, out, 99999 )
|
||||
void Q_strnlwr( const char *in, char *out, size_t size_out );
|
||||
int Q_strlen( const char *string );
|
||||
size_t Q_strlen( const char *string );
|
||||
int Q_colorstr( const char *string );
|
||||
char Q_toupper( const char in );
|
||||
char Q_tolower( const char in );
|
||||
|
Loading…
Reference in New Issue
Block a user