1
0
Fork 0

Silence a few warnings.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2964
This commit is contained in:
Sebastian Strohhäcker 2007-08-12 19:16:01 +00:00
parent 5844536ada
commit 0190a6e149
2 changed files with 7 additions and 7 deletions

View file

@ -69,12 +69,12 @@ public:
Bitu freq_add,freq_index;
Bitu done,needed;
Bits last[2];
char * name;
const char * name;
bool enabled;
MixerChannel * next;
};
MixerChannel * MIXER_AddChannel(MIXER_Handler handler,Bitu freq,char * name);
MixerChannel * MIXER_AddChannel(MIXER_Handler handler,Bitu freq,const char * name);
MixerChannel * MIXER_FindChannel(const char * name);
/* Find the device you want to delete with findchannel "delchan gets deleted" */
void MIXER_DelChannel(MixerChannel* delchan);
@ -87,7 +87,7 @@ private:
char m_name[32];
public:
MixerObject():installed(false){};
MixerChannel* Install(MIXER_Handler handler,Bitu freq,char * name);
MixerChannel* Install(MIXER_Handler handler,Bitu freq,const char * name);
~MixerObject();
};