OSDN Git Service

* fhandler_virtual.cc (fhandler_virtual::close): Quiet a compiler warning.
authorcgf <cgf>
Sun, 12 May 2002 01:59:53 +0000 (01:59 +0000)
committercgf <cgf>
Sun, 12 May 2002 01:59:53 +0000 (01:59 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_virtual.cc

index 1bbffbd..a894b9d 100644 (file)
@@ -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
index 29b7ceb..96925e5 100644 (file)
@@ -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;
 }