mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
After going to all of the effort of recomputing the frame size, actually store the one that we compute instead of accidentally discarding it.
It would probably be a good idea if we skipped the entire disassemble / reassemble code path if we've got sensible method encoding strings. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32908 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
215c7fff9d
commit
d6e22f687b
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ next_arg(const char *typePtr, NSArgumentInfo *info, char *outTypes)
|
|||
p = objc_skip_type_qualifiers (p);
|
||||
}
|
||||
alen = ptr - args;
|
||||
sprintf(ret + rlen, "%d", (int)_argFrameLength);
|
||||
rlen += sprintf(ret + rlen, "%d", (int)_argFrameLength);
|
||||
|
||||
_methodTypes = NSZoneMalloc(NSDefaultMallocZone(), alen + rlen + 1);
|
||||
strncpy((char*)_methodTypes, ret, rlen);
|
||||
|
|
Loading…
Reference in a new issue