mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-16 14:30:34 +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
|
// Iterate through each floppy
|
||||||
while ( nextFloppy = IOIteratorNext(allFloppies))
|
while ((nextFloppy = IOIteratorNext(allFloppies)))
|
||||||
{
|
{
|
||||||
char bsdPath[MAXPATHLEN];
|
char bsdPath[MAXPATHLEN];
|
||||||
long size;
|
long size;
|
||||||
@ -333,7 +333,7 @@ void DarwinAddSerialPrefs(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Iterate through each modem
|
// Iterate through each modem
|
||||||
while ( nextModem = IOIteratorNext(allModems))
|
while ((nextModem = IOIteratorNext(allModems)))
|
||||||
{
|
{
|
||||||
char bsdPath[MAXPATHLEN];
|
char bsdPath[MAXPATHLEN];
|
||||||
CFTypeRef bsdPathAsCFString =
|
CFTypeRef bsdPathAsCFString =
|
||||||
|
@ -1170,7 +1170,7 @@ void m68k_mull (uae_u32 opcode, uae_u32 src, uae_u16 extra)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
static char* ccnames[] =
|
static const char* ccnames[] =
|
||||||
{ "T ","F ","HI","LS","CC","CS","NE","EQ",
|
{ "T ","F ","HI","LS","CC","CS","NE","EQ",
|
||||||
"VC","VS","PL","MI","GE","LT","GT","LE" };
|
"VC","VS","PL","MI","GE","LT","GT","LE" };
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ static unsigned short imm;
|
|||||||
|
|
||||||
|
|
||||||
// Codes for trap instructions
|
// Codes for trap instructions
|
||||||
static char *to_code[32] = {
|
static const char *to_code[32] = {
|
||||||
NULL, "lgt", "llt", NULL, "eq", "lge", "lle", NULL,
|
NULL, "lgt", "llt", NULL, "eq", "lge", "lle", NULL,
|
||||||
"gt", NULL, NULL, NULL, "ge", NULL, NULL, NULL,
|
"gt", NULL, NULL, NULL, "ge", NULL, NULL, NULL,
|
||||||
"lt", NULL, NULL, NULL, "le", NULL, NULL, NULL,
|
"lt", NULL, NULL, NULL, "le", NULL, NULL, NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user