summaryrefslogtreecommitdiff
path: root/mach/msg-destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'mach/msg-destroy.c')
-rw-r--r--mach/msg-destroy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mach/msg-destroy.c b/mach/msg-destroy.c
index 19f96d4e21..aad7a7709f 100644
--- a/mach/msg-destroy.c
+++ b/mach/msg-destroy.c
@@ -75,10 +75,10 @@ __mach_msg_destroy(msg)
mach_msg_body_t *body;
mach_msg_descriptor_t *saddr, *eaddr;
- body = (mach_msg_body_t *) (msg + 1);
- saddr = (mach_msg_descriptor_t *)
+ body = (mach_msg_body_t *) (msg + 1);
+ saddr = (mach_msg_descriptor_t *)
((mach_msg_base_t *) msg + 1);
- eaddr = saddr + body->msgh_descriptor_count;
+ eaddr = saddr + body->msgh_descriptor_count;
for ( ; saddr < eaddr; saddr++) {
switch (saddr->type.type) {