From 18a77356a424511e7ae1865d1554d20b4b5c51fb Mon Sep 17 00:00:00 2001 From: Comment Date: Tue, 5 Nov 2013 22:33:22 +0000 Subject: clean up compiler warnings --- rotord/src/nodes_channels.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rotord/src/nodes_channels.h') diff --git a/rotord/src/nodes_channels.h b/rotord/src/nodes_channels.h index e991660..d58c97c 100644 --- a/rotord/src/nodes_channels.h +++ b/rotord/src/nodes_channels.h @@ -260,7 +260,6 @@ namespace Rotor { //get euclidean distance in HSV space int dist,d; - uint8_t m; float weights[3] = {parameters["weight_h"]->value,parameters["weight_s"]->value,parameters["weight_v"]->value}; float weight_total=255.0f/pow(pow(weights[0]*255,2)+pow(weights[1]*255,2)+pow(weights[2]*255,2),0.5); @@ -322,7 +321,6 @@ namespace Rotor { //cerr<<"generating LUT: threshold "<value<<", feather "<value<value-(parameters["feather"]->value*0.5f)); float maxf=min(1.0f,parameters["threshold"]->value+(parameters["feather"]->value*0.5f)); for (int i=0;i<256;i++){ @@ -438,7 +436,7 @@ namespace Rotor { //total=interval*number; } } - int thisframe=frame.frame(); + int thisframe=((Time_spec)frame).frame(); //iterate cache and throw out any obsolete frames auto i = std::begin(images); while (i != std::end(images)) { -- cgit v1.2.3