Fix warning.
authorCarl Hetherington <cth@carlh.net>
Thu, 20 Nov 2014 14:24:28 +0000 (14:24 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 20 Nov 2014 14:24:28 +0000 (14:24 +0000)
src/tools/dcpomatic_server.cc

index 58310377c04301774b7c77120e334d804a17b094..9158a897ee4aa8a1fd5bd0d10f887c263a6abaa5 100644 (file)
@@ -48,7 +48,7 @@ public:
        }
 
        string head_and_tail (int amount = 1024) const {
-               if (_log.size () < (2 * amount)) {
+               if (int (_log.size ()) < (2 * amount)) {
                        return _log;
                }