GCC fixes for recent code changes.

SVN r316 (trunk)
This commit is contained in:
Randy Heit 2006-08-31 01:30:22 +00:00
parent b1e564d907
commit a2fbb8c880
4 changed files with 15 additions and 15 deletions

View file

@ -666,7 +666,7 @@ void AddToConsole (int printlevel, const char *text)
char *work_p;
char *linestart;
FString cc = 'A' + CR_TAN;
FString cc('A' + char(CR_TAN));
int size, len;
int x;
int maxwidth;

View file

@ -3703,7 +3703,7 @@ int DLevelScript::RunScript ()
case PCD_PRINTCOLOR:
work += TEXTCOLOR_ESCAPE;
work += 'A' + CLAMPCOLOR(STACK(1));
work += 'A' + char(CLAMPCOLOR(STACK(1)));
sp--;
break;

View file

@ -26,4 +26,4 @@ void JPEG_ErrorExit (j_common_ptr cinfo);
void JPEG_OutputMessage (j_common_ptr cinfo);
#endif
#endif

View file

@ -110,6 +110,18 @@ protected:
void MakeTexture ();
};
struct TempParmInfo
{
unsigned int StartParm[2];
unsigned int ParmLen[2];
int Index;
};
struct TempColorInfo
{
FName Name;
unsigned int ParmInfo;
};
// EXTERNAL FUNCTION PROTOTYPES --------------------------------------------
// PUBLIC FUNCTION PROTOTYPES ----------------------------------------------
@ -1569,18 +1581,6 @@ wrong:
void V_InitFontColors ()
{
struct TempParmInfo
{
unsigned int StartParm[2];
unsigned int ParmLen[2];
int Index;
};
struct TempColorInfo
{
FName Name;
unsigned int ParmInfo;
};
TArray<FName> names;
int lump, lastlump = 0;
TranslationParm tparm;