summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-08-31 07:23:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-08-31 07:23:14 (GMT)
commit5db8ac0ea0e5dc45cd73849a958b701144875b56 (patch)
tree983017e36988713bec7c58f7b37107e2adf9e0c2 /win/tclWinConsole.c
parentf0449542a5811d05d5f94ed6ca7a67c1160525fa (diff)
downloadtcl-5db8ac0ea0e5dc45cd73849a958b701144875b56.zip
tcl-5db8ac0ea0e5dc45cd73849a958b701144875b56.tar.gz
tcl-5db8ac0ea0e5dc45cd73849a958b701144875b56.tar.bz2
Make Tcl_NRCallObjProc2 definition match documentation (ptrdiff_t -> Tcl_Size, which is - actually - just the same)
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index eced17e..6115739 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -1149,7 +1149,7 @@ ConsoleInputProc(
* reader thread which handles these case rather than dealing with
* them here (which is a little trickier than it might sound.)
*/
- if ((1 & (ptrdiff_t)bufPtr) == 0 /* aligned buffer */
+ if ((1 & (size_t)bufPtr) == 0 /* aligned buffer */
&& bufSize > 1 /* Not single byte read */
) {
DWORD lastError;