freebsd-ports/audio/spiralsynthmodular/files/patch-SpiralSound::PluginManager.C
Mario Sergio Fujikawa Ferreira a8b87e1390 New port spiralsynthmodular version 0.2.0: An object orientated
modular softsynth / sequencer / sampler

Submitted by:	David Yeske <dyeske@yahoo.com>
2003-01-30 20:29:02 +00:00

29 lines
805 B
C

--- SpiralSound/PluginManager.C.orig Mon Jan 6 01:17:04 2003
+++ SpiralSound/PluginManager.C Mon Jan 6 01:17:45 2003
@@ -48,7 +48,7 @@
}
// Link the neccesary functions
- char *error;
+ const char *error;
NewPlugin->CreateInstance = (SpiralPlugin*(*)()) dlsym(NewPlugin->Handle, "CreateInstance");
@@ -89,7 +89,7 @@
if (IsValid(ID))
{
dlclose(GetPlugin(ID)->Handle);
- char *error;
+ const char *error;
if ((error = dlerror()) != NULL)
{
SpiralInfo::Alert("Error unlinking plugin: \n"+string(error));
@@ -103,7 +103,7 @@
i!=m_PluginVec.end(); i++)
{
dlclose((*i)->Handle);
- char *error;
+ const char *error;
if ((error = dlerror()) != NULL)
{
SpiralInfo::Alert("Error unlinking plugin: \n"+string(error));