summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-13 20:59:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-13 20:59:03 (GMT)
commit52482ab5023994148201c6b4e71c40b62809b205 (patch)
treeac8f6f5963d03d0930dc5a0e3942baa89ecd916c /win/tkWinX.c
parent5faa1ee9e67769d4c91ffc6fcee8270a5db4d66c (diff)
downloadtk-52482ab5023994148201c6b4e71c40b62809b205.zip
tk-52482ab5023994148201c6b4e71c40b62809b205.tar.gz
tk-52482ab5023994148201c6b4e71c40b62809b205.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r--win/tkWinX.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index cafacb9..a592056 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -153,8 +153,8 @@ TkGetServerInfo(interp, tkwin)
os.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
GetVersionEx(&os);
- sprintf(buffer, "Windows %d.%d %d %s", os.dwMajorVersion,
- os.dwMinorVersion, os.dwBuildNumber,
+ sprintf(buffer, "Windows %d.%d %d %s", (int)os.dwMajorVersion,
+ (int)os.dwMinorVersion, (int)os.dwBuildNumber,
#ifdef _WIN64
"Win64"
#else