git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix warning on 64bit systems: cast to pointer from integer of different size [-Wint...
[novacoin.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index
e711057
..
064339f
100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-648,7
+648,7
@@
inline bool TerminateThread(pthread_t hthread, unsigned int nExitCode)
return (pthread_cancel(hthread) == 0);
}
-inline void ExitThread(unsigned int nExitCode)
+inline void ExitThread(size_t nExitCode)
{
pthread_exit((void*)nExitCode);
}