* 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:
@@ -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 ();
|
||||
|
Reference in New Issue
Block a user