summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-11 14:53:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-11 14:53:58 (GMT)
commit5ce60a33287e4745db2567abbed8ae8cc909b8c2 (patch)
tree7d8d3c9e568859c0045a232ba779e021ecaf985a /win
parent701334ed37accb494de29076c4810d8d808a2ef7 (diff)
downloadtcl-5ce60a33287e4745db2567abbed8ae8cc909b8c2.zip
tcl-5ce60a33287e4745db2567abbed8ae8cc909b8c2.tar.gz
tcl-5ce60a33287e4745db2567abbed8ae8cc909b8c2.tar.bz2
Fix harmless gcc warning message: using "unsigned" doesn't serve any purpose, actually.
Diffstat (limited to 'win')
-rw-r--r--win/tclWin32Dll.c4
-rw-r--r--win/tclWinTime.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c
index 688fa8d..d8a8717 100644
--- a/win/tclWin32Dll.c
+++ b/win/tclWin32Dll.c
@@ -603,8 +603,8 @@ Tcl_WinTCharToUtf(
int
TclWinCPUID(
- unsigned int index, /* Which CPUID value to retrieve. */
- unsigned int *regsPtr) /* Registers after the CPUID. */
+ int index, /* Which CPUID value to retrieve. */
+ int *regsPtr) /* Registers after the CPUID. */
{
int status = TCL_ERROR;
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index 7b5c18a..f4e08fa 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -341,7 +341,7 @@ NativeGetTime(
*/
SYSTEM_INFO systemInfo;
- unsigned int regs[4];
+ int regs[4];
GetSystemInfo(&systemInfo);
if (TclWinCPUID(0, regs) == TCL_OK