summaryrefslogtreecommitdiff
path: root/routine.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-08-04 22:02:59 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-08-04 22:02:59 +0000
commitd55432497816d2309c98c18f6dd3bfbf64abf21c (patch)
tree60e96bfaa574f407058bf5ee4138893b7d105240 /routine.c
parent50d678e71aed8d606f2d377b7fb1dc6eb07f69c7 (diff)
2002-07-31 Marcus Brinkmann <marcus@gnu.org>
* routine.c (rtFindSize): Always add sizeof_mach_msg_type_t to SIZE for args not in long form, irregardless of the itSize.
Diffstat (limited to 'routine.c')
-rw-r--r--routine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/routine.c b/routine.c
index 15ff672..c34b91f 100644
--- a/routine.c
+++ b/routine.c
@@ -377,8 +377,7 @@ rtFindSize(const argument_t *args, u_int mask)
size = (size + word_size-1) & ~(word_size-1);
size += sizeof_mach_msg_type_long_t;
} else {
- register bs = (it->itSize / 8); /* in bytes */
- size += (bs > sizeof_mach_msg_type_t) ? bs : sizeof_mach_msg_type_t;
+ size += sizeof_mach_msg_type_t;
}
size += it->itMinTypeSize;