It's a c++: use string.clear()
[novacoin.git] / 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
         {