Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-05-12 05:59:53 +0400
committerChristopher Faylor <me@cgf.cx>2002-05-12 05:59:53 +0400
commitb84621d2e3bfcf29f1ce1e700e3b4cd895dff2fd (patch)
treef1c7c650031608323bd29d17984242dc2e250128 /winsup
parent6566d27da452d1f4a3397967c63aff7f6257fc9a (diff)
* fhandler_virtual.cc (fhandler_virtual::close): Quiet a compiler warning.
Diffstat (limited to 'winsup')
-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 1bbffbde8..a894b9d54 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 29b7cebeb..96925e560 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;
}