X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Futil.h;fp=src%2Futil.h;h=62f26fdb8eed64cce76f733c8a15fa58ff0b2b51;hb=160c5e245f1e3ff7766fd5d1b96f8e6867ac3988;hp=c8ae742501963c6ad872089ea97e1e3ec89c6938;hpb=fe27b2dfe4551bc841b4edb833f13c7f72095faa;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 {