summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPPM.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/tkImgPPM.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/tkImgPPM.c')
-rw-r--r--generic/tkImgPPM.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgPPM.c b/generic/tkImgPPM.c
index 53e4f92..3865e03 100644
--- a/generic/tkImgPPM.c
+++ b/generic/tkImgPPM.c
@@ -201,7 +201,7 @@ FileReadPPM(
}
if (srcY > 0) {
- Tcl_Seek(chan, (Tcl_WideInt)(srcY * block.pitch), SEEK_CUR);
+ Tcl_Seek(chan, (long long)srcY * block.pitch, SEEK_CUR);
}
nLines = (MAX_MEMORY + block.pitch - 1) / block.pitch;