msvcirt: Don't return negative values in in_avail and out_waiting.
commit611b7273863222e7636c5710ece60f12bd196d1d
authorIván Matellanes <matellanesivan@gmail.com>
Wed, 19 Oct 2016 12:00:51 +0000 (19 14:00 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 20 Oct 2016 14:03:01 +0000 (20 07:03 -0700)
treed0665cc8ac0d81d3dd0f1830eeadcaee5a0bedc3
parent6fdf4920227de6ea89319d3cec7697278a2863f8
msvcirt: Don't return negative values in in_avail and out_waiting.

Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/msvcirt/msvcirt.c
dlls/msvcirt/tests/msvcirt.c