--- noatun-plugins/pitchablespeed/pitchablespeed.h.orig	Fri Apr  5 15:37:40 2002
+++ noatun-plugins/pitchablespeed/pitchablespeed.h	Fri Apr  5 15:39:12 2002
@@ -48,8 +48,8 @@
 	void preserveFrequenciesChanged(bool);
 	
 private:
-	static const int DEFAULT_OFFSET= 5;
-	static const int DEFAULT_RANGE= 10;
+	static const int DEFAULT_OFFSET;
+	static const int DEFAULT_RANGE;
 
 	int offset, range; // in percent, defaults 5% offset +-10% range
 	
--- noatun-plugins/pitchablespeed/pitchablespeed.cpp.orig	Fri Apr  5 15:37:51 2002
+++ noatun-plugins/pitchablespeed/pitchablespeed.cpp	Fri Apr  5 15:38:58 2002
@@ -31,6 +31,9 @@
 	}
 }
 
+const int PitchableSpeed::DEFAULT_OFFSET = 5;
+const int PitchableSpeed::DEFAULT_RANGE = 10;
+
 PitchableSpeed::PitchableSpeed() : Plugin(),
 	offset(DEFAULT_OFFSET),
 	range(DEFAULT_RANGE)
--- noatun-plugins/alarm/wakeup.h.orig	Fri Apr  5 15:27:12 2002
+++ noatun-plugins/alarm/wakeup.h	Fri Apr  5 15:27:19 2002
@@ -32,7 +32,7 @@
 class Wakeup : public QObject, public Plugin
 {
 	Q_OBJECT
-	NOATUNPLUGIND;
+	NOATUNPLUGIND
 
 public:
 	Wakeup();
--- noatun-plugins/noatunmadness/madness.cpp.orig	Fri Apr  5 15:29:54 2002
+++ noatun-plugins/noatunmadness/madness.cpp	Fri Apr  5 15:30:13 2002
@@ -71,7 +71,7 @@
 	int delta=0; // in pixels
 	for (int count=0; count<size; count++)
 	{
-		delta+=(int)((log10(d[count]+1)/log(2))*(size-count))/2;
+		delta+=(int)((log10(d[count]+1)/log(2.0))*(size-count))/2;
 	}
 	
 //	cout << "delta: " << delta << endl;
