git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Mismatch of types: void and return.
[novacoin.git]
/
src
/
util.cpp
diff --git
a/src/util.cpp
b/src/util.cpp
index
8b0afa9
..
16cf2fa
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-204,7
+204,7
@@
uint64_t GetRand(uint64_t nMax)
int GetRandInt(int nMax)
{
- return GetRand(nMax);
+ return static_cast<int>(GetRand(nMax));
}
uint256 GetRandHash()