Initializing: type mismatch 291/head
authorsvost <ya.nowa@yandex.ru>
Thu, 17 Mar 2016 17:46:48 +0000 (20:46 +0300)
committersvost <ya.nowa@yandex.ru>
Thu, 17 Mar 2016 17:46:48 +0000 (20:46 +0300)
src/util.h

index c8ae742..62f26fd 100644 (file)
@@ -523,7 +523,7 @@ public:
 
     T median() const
     {
-        int size = vSorted.size();
+        size_t size = vSorted.size();
         assert(size>0);
         if(size & 1) // Odd number of elements
         {