From 51b3623ee6c4cb2da48dacb524266104c14b929b Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Fri, 9 Jul 2010 19:54:18 +0000 Subject: [PATCH] Fix warnings git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37446 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/midi/SoftSynth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/midi/SoftSynth.cpp b/src/kits/midi/SoftSynth.cpp index 187fd371be..c82119e9d5 100644 --- a/src/kits/midi/SoftSynth.cpp +++ b/src/kits/midi/SoftSynth.cpp @@ -431,8 +431,8 @@ BSoftSynth::_Init() _Done(); fSettings = new_fluid_settings(); - fluid_settings_setnum(fSettings, "synth.sample-rate", fSampleRate); - fluid_settings_setint(fSettings, "synth.polyphony", fMaxVoices); + fluid_settings_setnum(fSettings, (char*)"synth.sample-rate", fSampleRate); + fluid_settings_setint(fSettings, (char*)"synth.polyphony", fMaxVoices); fSynth = new_fluid_synth(fSettings); if (!fSynth)