diff options
Diffstat (limited to 'libio/oldfileops.c')
-rw-r--r-- | libio/oldfileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/oldfileops.c b/libio/oldfileops.c index 8998ee9b0d..2efbadb44e 100644 --- a/libio/oldfileops.c +++ b/libio/oldfileops.c @@ -266,7 +266,7 @@ _IO_old_do_write (fp, data, to_do) const char *data; _IO_size_t to_do; { - return (to_do == 0 || old_do_write (fp, data, to_do) == to_do) + return (to_do == 0 || (_IO_size_t) old_do_write (fp, data, to_do) == to_do) ? 0 : EOF; } |