aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-05-12 01:59:53 +0000
committerChristopher Faylor <me@cgf.cx>2002-05-12 01:59:53 +0000
commitb84621d2e3bfcf29f1ce1e700e3b4cd895dff2fd (patch)
treef1c7c650031608323bd29d17984242dc2e250128
parent6566d27da452d1f4a3397967c63aff7f6257fc9a (diff)
downloadnewlib-b84621d2e3bfcf29f1ce1e700e3b4cd895dff2fd.zip
newlib-b84621d2e3bfcf29f1ce1e700e3b4cd895dff2fd.tar.gz
newlib-b84621d2e3bfcf29f1ce1e700e3b4cd895dff2fd.tar.bz2
* fhandler_virtual.cc (fhandler_virtual::close): Quiet a compiler warning.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_virtual.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 1bbffbd..a894b9d 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-11 Christopher Faylor <cgf@redhat.com>
+
+ * fhandler_virtual.cc (fhandler_virtual::close): Quiet a compiler
+ warning.
+
2002-05-10 Christopher January <chris@atomice.net>
* autoload.cc: Add dynamic load statements for
diff --git a/winsup/cygwin/fhandler_virtual.cc b/winsup/cygwin/fhandler_virtual.cc
index 29b7ceb..96925e5 100644
--- a/winsup/cygwin/fhandler_virtual.cc
+++ b/winsup/cygwin/fhandler_virtual.cc
@@ -158,7 +158,7 @@ fhandler_virtual::close ()
if (filebuf)
cfree (filebuf);
filebuf = NULL;
- bufalloc = -1;
+ bufalloc = (size_t) -1;
cygwin_shared->delqueue.process_queue ();
return 0;
}