From: Roland McGrath Date: Sun, 1 Aug 1999 02:43:44 +0000 (+0000) Subject: 1999-07-31 Roland McGrath X-Git-Tag: cvs/glibc_2-1-2~195 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb6f921e11b26bbb0375752fa173484179804701;p=thirdparty%2Fglibc.git 1999-07-31 Roland McGrath * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member initializer in CHECK: a bit size, not the type code repeated! --- diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c index c7c45e70238..2efde2cc9a5 100644 --- a/hurd/intr-msg.c +++ b/hurd/intr-msg.c @@ -1,5 +1,5 @@ /* Replacement for mach_msg used in interruptible Hurd RPCs. - Copyright (C) 95, 96, 97, 98 Free Software Foundation, Inc. + Copyright (C) 95, 96, 97, 98, 99 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -141,11 +141,11 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg, const union { mach_msg_type_t t; - int i; + integer_t i; } check = { t: { MACH_MSG_TYPE_INTEGER_T, - MACH_MSG_TYPE_INTEGER_T, + sizeof (integer_t) * 8, 1, TRUE, FALSE,