diff --git a/src/lib/synergy/StreamChunker.cpp b/src/lib/synergy/StreamChunker.cpp index c4c70f4b..9a94758c 100644 --- a/src/lib/synergy/StreamChunker.cpp +++ b/src/lib/synergy/StreamChunker.cpp @@ -31,7 +31,7 @@ #include -#define PAUSE_TIME_HACK 0.1 +#define PAUSE_TIME_HACK 0.1f using namespace std; @@ -147,7 +147,7 @@ StreamChunker::sendClipboard( break; } - if (stopwatch.getTime() > 0.1f) { + if (stopwatch.getTime() > PAUSE_TIME_HACK) { // make sure we don't read too much from the mock data. if (sentLength + chunkSize > size) { chunkSize = size - sentLength;