engine: fix char default signness

This commit is contained in:
Alibek Omarov 2019-05-25 03:12:17 +03:00
parent b797e0af1a
commit 9048c108c4
2 changed files with 6 additions and 6 deletions

View File

@ -128,8 +128,8 @@ static byte *W_LoadFile( const char *path, fs_offset_t *filesizeptr, qboolean ga
static wfile_t *W_Open( const char *filename, int *errorcode );
static qboolean FS_SysFolderExists( const char *path );
static int FS_SysFileTime( const char *filename );
static char W_TypeFromExt( const char *lumpname );
static const char *W_ExtFromType( char lumptype );
static signed char W_TypeFromExt( const char *lumpname );
static const char *W_ExtFromType( signed char lumptype );
static void FS_Purge( file_t* file );
/*
@ -3118,7 +3118,7 @@ W_TypeFromExt
Extracts file type from extension
===========
*/
static char W_TypeFromExt( const char *lumpname )
static signed char W_TypeFromExt( const char *lumpname )
{
const char *ext = COM_FileExtension( lumpname );
const wadtype_t *type;
@ -3142,7 +3142,7 @@ W_ExtFromType
Convert type to extension
===========
*/
static const char *W_ExtFromType( char lumptype )
static const char *W_ExtFromType( signed char lumptype )
{
const wadtype_t *type;

View File

@ -89,8 +89,8 @@ void Sequence_ResetDefaults( sequenceCommandLine_s *destination, sequenceCommand
static client_textmessage_t defaultClientMessage =
{
0, // effect
-1, -1, -1, -1, // rgba1
-1, -1, -1, -1, // rgba2
255, 255, 255, 255, // rgba1
255, 255, 255, 255, // rgba2
0.5, 0.5, // xy
0.2, 0.2, // fade-in/out
1.6, // holdtime