On Tuesday 02 December 2008 03:59:09 Dmitry Guryanov wrote:
> sbrk has arguments of type intptr_t, which is long in on x86_64.
> There is following line in mmapstress03:
>
>       if (sbrk(-NUM_SEGS * pagesize) == NEG1) {
>
> here the type of argument is int, because of constant NUM_SEGS, and this
> test fails here on x86_64. So let constants will be long.

seems wonky to declare size at all ... does it work if you drop the U ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to