aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGiel van Schijndel <[email protected]>2011-07-12 14:24:14 +0200
committerGiel van Schijndel <[email protected]>2011-07-13 05:07:44 +0200
commitdf4018141752de57cd7ce59ef556f541016facc1 (patch)
treeaa9bb8168a28f273d532ef09685879018e139c74 /src/util.h
parentUpdate makefile.linux-mingw to work with crypter and UPnP fix. (diff)
downloaddiscoin-df4018141752de57cd7ce59ef556f541016facc1.tar.xz
discoin-df4018141752de57cd7ce59ef556f541016facc1.zip
fix warning on 64bit systems: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Signed-off-by: Giel van Schijndel <[email protected]>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index e7110570c..064339f99 100644
--- 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);
}