git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fe27b2d
)
Initializing: type mismatch
291/head
author
svost
<ya.nowa@yandex.ru>
Thu, 17 Mar 2016 17:46:48 +0000 (20:46 +0300)
committer
svost
<ya.nowa@yandex.ru>
Thu, 17 Mar 2016 17:46:48 +0000 (20:46 +0300)
src/util.h
patch
|
blob
|
history
diff --git
a/src/util.h
b/src/util.h
index
c8ae742
..
62f26fd
100644
(file)
--- 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
{