summaryrefslogtreecommitdiffstats
path: root/win/tclWin32Dll.c
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)
commit53762a67042034b30c55c6140ae64ac19f7793b4 (patch)
treeb17092b725c007f81a55853764966830a24e6ea9 /win/tclWin32Dll.c
parentc8000d6184a52533c9977c9676752f6d0c25ed45 (diff)
downloadtcl-53762a67042034b30c55c6140ae64ac19f7793b4.zip
tcl-53762a67042034b30c55c6140ae64ac19f7793b4.tar.gz
tcl-53762a67042034b30c55c6140ae64ac19f7793b4.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*)
Diffstat (limited to 'win/tclWin32Dll.c')
-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__)