silence some more warnings

This commit is contained in:
Alexei Svitkine 2017-12-02 12:27:27 -05:00
parent 57131adacc
commit fc0d7dcdde
3 changed files with 4 additions and 4 deletions

View File

@ -256,7 +256,7 @@ void DarwinAddFloppyPrefs(void)
}
// Iterate through each floppy
while ( nextFloppy = IOIteratorNext(allFloppies))
while ((nextFloppy = IOIteratorNext(allFloppies)))
{
char bsdPath[MAXPATHLEN];
long size;
@ -333,7 +333,7 @@ void DarwinAddSerialPrefs(void)
}
// Iterate through each modem
while ( nextModem = IOIteratorNext(allModems))
while ((nextModem = IOIteratorNext(allModems)))
{
char bsdPath[MAXPATHLEN];
CFTypeRef bsdPathAsCFString =

View File

@ -1170,7 +1170,7 @@ void m68k_mull (uae_u32 opcode, uae_u32 src, uae_u16 extra)
}
#endif
}
static char* ccnames[] =
static const char* ccnames[] =
{ "T ","F ","HI","LS","CC","CS","NE","EQ",
"VC","VS","PL","MI","GE","LT","GT","LE" };

View File

@ -30,7 +30,7 @@ static unsigned short imm;
// Codes for trap instructions
static char *to_code[32] = {
static const char *to_code[32] = {
NULL, "lgt", "llt", NULL, "eq", "lge", "lle", NULL,
"gt", NULL, NULL, NULL, "ge", NULL, NULL, NULL,
"lt", NULL, NULL, NULL, "le", NULL, NULL, NULL,