diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2006-10-06 14:14:29 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2006-10-06 14:14:29 (GMT) |
commit | 57911c541c6dbf733b08171a1711081e59d2b95e (patch) | |
tree | 65084b4dab757236a00a67fe3902584c71d09189 /win/nmakehlp.c | |
parent | 2d991e57e127e760f321d08bbb6dbf0b8ff1bf0b (diff) | |
download | tcl-57911c541c6dbf733b08171a1711081e59d2b95e.zip tcl-57911c541c6dbf733b08171a1711081e59d2b95e.tar.gz tcl-57911c541c6dbf733b08171a1711081e59d2b95e.tar.bz2 |
bug #1571954: avoid /RTCc flag with MSVC8tip_278_branch_root
Diffstat (limited to 'win/nmakehlp.c')
-rw-r--r-- | win/nmakehlp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/nmakehlp.c b/win/nmakehlp.c index 28bb903..08ad028 100644 --- a/win/nmakehlp.c +++ b/win/nmakehlp.c @@ -10,7 +10,7 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * ---------------------------------------------------------------------------- - * RCS: @(#) $Id: nmakehlp.c,v 1.10 2006/09/26 20:47:03 patthoyts Exp $ + * RCS: @(#) $Id: nmakehlp.c,v 1.11 2006/10/06 14:14:29 patthoyts Exp $ * ---------------------------------------------------------------------------- */ @@ -407,7 +407,7 @@ ReadFromPipe( again: if (lastBuf - pi->buffer + CHUNK > STATICBUFFERSIZE) { CloseHandle(pi->pipe); - return -1; + return (DWORD)-1; } ok = ReadFile(pi->pipe, lastBuf, CHUNK, &dwRead, 0L); if (!ok || dwRead == 0) { |