mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-21 22:31:19 +00:00
silence some more warnings
This commit is contained in:
parent
b150b42fc6
commit
75324c10d0
@ -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 =
|
||||
|
@ -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" };
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user