summaryrefslogtreecommitdiffstats
path: root/generic/tkTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-08 16:44:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-08 16:44:26 (GMT)
commit2b441609377c94239f63346bf28b92db53c36a42 (patch)
treef89210a6d43fbef8a40a75b052f6486e9bd8ab40 /generic/tkTest.c
parent21608e25015bc36738583d973e82ac02b61765ed (diff)
downloadtk-2b441609377c94239f63346bf28b92db53c36a42.zip
tk-2b441609377c94239f63346bf28b92db53c36a42.tar.gz
tk-2b441609377c94239f63346bf28b92db53c36a42.tar.bz2
TIP #592 implementation: Stop support for Windows XP, Server 2003, Vista, Server 2008
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r--generic/tkTest.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c
index b5ab868..f89a946 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -1933,11 +1933,7 @@ TestprintfObjCmd(
{
char buffer[256];
Tcl_WideInt wideInt;
-#ifdef _WIN32
- __int64 longLongInt;
-#else
long long longLongInt;
-#endif
(void)dummy;
if (objc != 2) {
@@ -1956,7 +1952,7 @@ TestprintfObjCmd(
*/
sprintf(buffer, "%s%s%s%s%s%s%s%s%" TCL_LL_MODIFIER "d %"
TCL_LL_MODIFIER "u", "", "", "", "", "", "", "", "",
- (Tcl_WideInt)longLongInt, (Tcl_WideUInt)longLongInt);
+ longLongInt, (unsigned long long)longLongInt);
Tcl_AppendResult(interp, buffer, NULL);
return TCL_OK;
}