pkgsrc/audio/spiralsynth/patches/patch-af
ben 9af7b585f0 Fix build error introduced by gcc3.
ftp://ftp.netbsd.org/pub/NetBSD/misc/agc/borked-current/audio/spiralsynth/.broken.sys2.html
2003-12-19 16:48:06 +00:00

22 lines
659 B
Text

$NetBSD: patch-af,v 1.1 2003/12/19 16:48:06 ben Exp $
--- GUI/ScopeGUI.C.orig 2000-11-26 07:52:39.000000000 -0800
+++ GUI/ScopeGUI.C
@@ -22,7 +22,7 @@
#include <FL/fl_draw.H>
-ScopeWidget::ScopeWidget(int x,int y,int w,int h,const char *l=0) :
+ScopeWidget::ScopeWidget(int x,int y,int w,int h,const char *l) :
Fl_Widget(x,y,w,h,l)
{
}
@@ -53,7 +53,7 @@ void ScopeGUI::Display(short *data)
if (!m_Bypass) m_Scope->redraw();
}
-void ScopeGUI::CreateGUI(int xoff=0, int yoff=0, char *name)
+void ScopeGUI::CreateGUI(int xoff, int yoff, char *name)
{
Fl_Group* o = GUIScopeGroup = new Fl_Group(xoff, yoff, 225, 110, name);
o->type(1);