From 4aa8f7c20c5e8bbe1ed9b007a1193ced8b019f4d Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 2 May 2013 18:35:29 +0100 Subject: include problems - added makde Clang for clarity --- rotord/rotor.cpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'rotord/rotor.cpp') diff --git a/rotord/rotor.cpp b/rotord/rotor.cpp index c79a9c7..b0bf8ab 100755 --- a/rotord/rotor.cpp +++ b/rotord/rotor.cpp @@ -1,16 +1,6 @@ #include "rotor.h" -//float equality -bool fequal(const float u,const float v){ - if (abs(u-v)<.001) return true; - else return false; -}; -bool flessorequal(const float u,const float v){ - //v is less or equal to u - if (u-v>-.001) return true; - else return false; -}; using namespace Rotor; @@ -120,7 +110,7 @@ string Audio_thumbnailer::print(){ stringstream output; Poco::Base64Encoder *enc=new Poco::Base64Encoder(output); - enc->write(data,width*height); + enc->write((char*)data,width*height); //tring output; /* for (int j=0;jisLoaded()){ -- cgit v1.2.3