git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
0ca8324
)
fix warning on 64bit systems: cast to pointer from integer of different size [-Wint...
author
Giel van Schijndel
<me@mortis.eu>
Tue, 12 Jul 2011 12:24:14 +0000 (14:24 +0200)
committer
Giel van Schijndel
<me@mortis.eu>
Wed, 13 Jul 2011 03:07:44 +0000 (
05:07
+0200)
Signed-off-by: Giel van Schijndel <me@mortis.eu>
src/util.h
patch
|
blob
|
history
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);
}