diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-08-31 07:23:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-08-31 07:23:14 (GMT) |
commit | 5db8ac0ea0e5dc45cd73849a958b701144875b56 (patch) | |
tree | 983017e36988713bec7c58f7b37107e2adf9e0c2 /win/tclWinConsole.c | |
parent | f0449542a5811d05d5f94ed6ca7a67c1160525fa (diff) | |
download | tcl-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.c | 2 |
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; |