* cygheap.cc (_csbrk): More left coercion cleanup.

* fhandler_tty.cc (fhandler_tty_slave::read): Ditto.
(fhandler_tty_slave::write): Ditto.
* fhandler_windows.cc (fhandler_windows::read): Ditto.
* heap.cc (sbrk): Ditto.
This commit is contained in:
Christopher Faylor
2003-09-07 18:27:54 +00:00
parent ed2287adcd
commit bd8938985e
5 changed files with 15 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ fhandler_windows::read (void *buf, size_t& len)
return;
}
(ssize_t) len = GetMessage (ptr, hWnd_, 0, 0);
len = (size_t) GetMessage (ptr, hWnd_, 0, 0);
if ((ssize_t) len == -1)
__seterrno ();