- fixed compilation with XCode and silenced several warnings

This commit is contained in:
Christoph Oelckers 2019-09-30 01:51:53 +02:00
commit 6bfa1bf692
17 changed files with 73 additions and 77 deletions

View file

@ -321,7 +321,7 @@ void I_ShutdownSound()
}
}
const char *GetSampleTypeName(enum SampleType type)
const char *GetSampleTypeName(SampleType type)
{
switch(type)
{
@ -331,7 +331,7 @@ const char *GetSampleTypeName(enum SampleType type)
return "(invalid sample type)";
}
const char *GetChannelConfigName(enum ChannelConfig chan)
const char *GetChannelConfigName(ChannelConfig chan)
{
switch(chan)
{