1dd73f0
From 1d5190dbe11629dfa8e32b7959db593780c757eb Mon Sep 17 00:00:00 2001
1dd73f0
From: abrolag <willgodfrey@musically.me.uk>
1dd73f0
Date: Mon, 8 Feb 2016 23:01:46 +0000
1dd73f0
Subject: [PATCH] gcc 6 error fix?
1dd73f0
1dd73f0
---
1dd73f0
 src/Effects/Alienwah.cpp  | 4 ++--
1dd73f0
 src/Misc/CmdInterface.cpp | 2 +-
1dd73f0
 2 files changed, 3 insertions(+), 3 deletions(-)
1dd73f0
1dd73f0
diff --git a/src/Effects/Alienwah.cpp b/src/Effects/Alienwah.cpp
1dd73f0
index 1c794cf..41e1a30 100644
1dd73f0
--- a/src/Effects/Alienwah.cpp
1dd73f0
+++ b/src/Effects/Alienwah.cpp
1dd73f0
@@ -70,7 +70,7 @@ void Alienwah::out(float *smpsl, float *smpsr)
1dd73f0
         tmp = clfol * x + oldclfol * x1;
1dd73f0
 
1dd73f0
         out = tmp * oldl[oldk];
1dd73f0
-        out.real() += (1 - abs(fb)) * smpsl[i] * pangainL;
1dd73f0
+        out += (1 - abs(fb)) * smpsl[i] * pangainL;
1dd73f0
 
1dd73f0
         oldl[oldk] = out;
1dd73f0
         float l = out.real() * 10.0f * (fb + 0.1f);
1dd73f0
@@ -79,7 +79,7 @@ void Alienwah::out(float *smpsl, float *smpsr)
1dd73f0
         tmp = clfor * x + oldclfor * x1;
1dd73f0
 
1dd73f0
         out = tmp * oldr[oldk];
1dd73f0
-        out.real() += (1 - abs(fb)) * smpsr[i] * pangainR;
1dd73f0
+        out += (1 - abs(fb)) * smpsr[i] * pangainR;
1dd73f0
 
1dd73f0
         oldr[oldk] = out;
1dd73f0
         float r = out.real() * 10.0f * (fb + 0.1f);
1dd73f0
diff --git a/src/Misc/CmdInterface.cpp b/src/Misc/CmdInterface.cpp
1dd73f0
index 061a420..3947f05 100644
1dd73f0
--- a/src/Misc/CmdInterface.cpp
1dd73f0
+++ b/src/Misc/CmdInterface.cpp
1dd73f0
@@ -228,7 +228,7 @@ void CmdInterface::helpLoop(list<string>& msg, string *commands, int indent)
1dd73f0
     while (commands[word] != "end")
1dd73f0
     {
1dd73f0
         left = commands[word];
1dd73f0
-        msg.push_back(dent.assign<int>(indent, ' ') + left + blanks.assign<int>(spaces - left.length(), ' ') + "- " + commands[word + 1]);
1dd73f0
+        msg.push_back(dent.assign(indent, ' ') + left + blanks.assign(spaces - left.length(), ' ') + "- " + commands[word + 1]);
1dd73f0
         word += 2;
1dd73f0
     }
1dd73f0
 }