re PR ada/48711 (failure to bootstrap or build ada for mingw (value not in range of type "Interfaces.C.unsigned" in g-socthi.adb))

PR ada/48711
	* g-socthi-mingw.adb (Fill): Fix formatting.

From-SVN: r176305
This commit is contained in:
Eric Botcazou 2011-07-15 05:52:04 +00:00 committed by Eric Botcazou
parent efa8c82ad7
commit f39a9ca22f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-07-15 Eric Botcazou <ebotcazou@adacore.com>
PR ada/48711
* g-socthi-mingw.adb (Fill): Fix formatting.
2011-07-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR ada/46350

View File

@ -277,8 +277,8 @@ package body GNAT.Sockets.Thin is
use type C.size_t;
Fill : constant Boolean :=
SOSC.MSG_WAITALL /= -1
and then (C.unsigned (Flags) and SOSC.MSG_WAITALL) /= 0;
SOSC.MSG_WAITALL /= -1
and then (C.unsigned (Flags) and SOSC.MSG_WAITALL) /= 0;
-- Is the MSG_WAITALL flag set? If so we need to fully fill all vectors
Res : C.int;