diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2002-08-04 22:02:59 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2002-08-04 22:02:59 +0000 |
commit | d55432497816d2309c98c18f6dd3bfbf64abf21c (patch) | |
tree | 60e96bfaa574f407058bf5ee4138893b7d105240 /routine.c | |
parent | 50d678e71aed8d606f2d377b7fb1dc6eb07f69c7 (diff) | |
download | mig-d55432497816d2309c98c18f6dd3bfbf64abf21c.tar.gz mig-d55432497816d2309c98c18f6dd3bfbf64abf21c.tar.bz2 mig-d55432497816d2309c98c18f6dd3bfbf64abf21c.zip |
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |