summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/nmakehlp.c4
-rw-r--r--win/rules.vc6
2 files changed, 3 insertions, 7 deletions
diff --git a/win/nmakehlp.c b/win/nmakehlp.c
index 82a307c..5f0d464 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.1.6.3 2006/09/26 23:55:50 patthoyts Exp $
+ * RCS: @(#) $Id: nmakehlp.c,v 1.1.6.4 2006/10/06 18:10:41 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) {
diff --git a/win/rules.vc b/win/rules.vc
index 06b7c1d..46e0ec5 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -11,7 +11,7 @@
# Copyright (c) 2003-2006 Patrick Thoyts
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: rules.vc,v 1.5.2.5 2006/09/26 23:55:50 patthoyts Exp $
+# RCS: @(#) $Id: rules.vc,v 1.5.2.6 2006/10/06 18:10:41 patthoyts Exp $
#------------------------------------------------------------------------------
!ifndef _RULES_VC
@@ -125,10 +125,6 @@ DEBUGFLAGS = $(DEBUGFLAGS) -RTC1
DEBUGFLAGS = $(DEBUGFLAGS) -GZ
!endif
-!if [nmakehlp -c -RTCc]
-DEBUGFLAGS = $(DEBUGFLAGS) -RTCc
-!endif
-
COMPILERFLAGS =-W3
!if [nmakehlp -c -YX]