X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Futil.h;h=62f26fdb8eed64cce76f733c8a15fa58ff0b2b51;hb=8982b69aabfefd65e8f3d859018228998f523cae;hp=c8ae742501963c6ad872089ea97e1e3ec89c6938;hpb=3bdc0abd5d7e262151c62426cb3006433fb21ffc;p=novacoin.git diff --git a/src/util.h b/src/util.h index c8ae742..62f26fd 100644 --- a/src/util.h +++ b/src/util.h @@ -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 {