diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-01-24 10:39:37 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-01-24 10:39:37 +0000 |
| commit | fea2665479fcc34e4f8c16f8f603af714ea4abc5 (patch) | |
| tree | 29efc622f645aa20374fc3921d0b422b7341f6c0 /rotord/src/rotor.h | |
| parent | f533df23fb1cd3044aaa02bf74625e9b53c032c1 (diff) | |
clamp mosaic pixels
Diffstat (limited to 'rotord/src/rotor.h')
| -rw-r--r-- | rotord/src/rotor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index decae01..27d3820 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -1159,8 +1159,8 @@ namespace Rotor { //cerr<<"video feedback: added, "<<feedback.size()<<" images in cache"<<endl; list<Image>::iterator it1=feedback.begin(); //list<int>::iterator iit1=feedbacknums.begin(); - if (feedback.size()>((int)parameters["delay"]->value)-1){ - if (feedback.size()>((int)parameters["delay"]->value)){ + if (feedback.size()>((uint32_t)parameters["delay"]->value)-1){ + if (feedback.size()>((uint32_t)parameters["delay"]->value)){ list<Image>::iterator it2=feedback.begin(); //list<int>::iterator iit2=feedbacknums.begin(); advance(it2,feedback.size()-(((int)parameters["delay"]->value))); |
