On Sun, Mar 31, 2002 at 01:59:56AM +0100, Marcus Brinkmann wrote:
> ok, here is some hard data.  It turns out that the comparison:
>    *(int *) &msg.error.err_type == *(int *) &inttype
> 
> is failing, with the correct number 268509186 on the left hand and a bogus
> number 65536 on the right hand.
> 
> So it seems that this construct doesn't work with inttype, which is:
>           const mach_msg_type_t inttype =
>             { MACH_MSG_TYPE_INTEGER_T, sizeof (MACH_MSG_TYPE_INTEGER_T) * 8,
>               1, 1, 0, 0 };

I tried removing the "const", and this made it work.  What does this tell
us?

Thanks,
Marcus


-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to