summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2018-07-20 15:58:56 (GMT)
committersebres <sebres@users.sourceforge.net>2018-07-20 15:58:56 (GMT)
commitd00a212e82abf97d0bc54b040a3d0a153980d537 (patch)
treeb17092b725c007f81a55853764966830a24e6ea9
parent7fb72851e8562eb2e68ec94d10e1b88fb40b863e (diff)
downloadtcl-d00a212e82abf97d0bc54b040a3d0a153980d537.zip
tcl-d00a212e82abf97d0bc54b040a3d0a153980d537.tar.gz
tcl-d00a212e82abf97d0bc54b040a3d0a153980d537.tar.bz2
win: avoids warning by x64-build in function 'TclWinCPUID' - pointer targets in passing argument 1 of '__cpuid' differ in signedness [-Wpointer-sign] (int* vs unsigned int*)
-rw-r--r--win/tclWin32Dll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c
index 6c973df..a85dd0c 100644
--- a/win/tclWin32Dll.c
+++ b/win/tclWin32Dll.c
@@ -640,7 +640,7 @@ TclWinCPUID(
#if defined(HAVE_INTRIN_H) && defined(_WIN64)
- __cpuid(regsPtr, index);
+ __cpuid((int *)regsPtr, index);
status = TCL_OK;
#elif defined(__GNUC__)