Pointer return fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16443 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-04-12 07:39:10 +00:00
parent 44d5f83483
commit 5b7680da44
3 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,10 @@
2003-04-10 Richard Frith-Macdonald <rfm@gnu.org>
2003-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/callframe.m:
* Source/cifframe.m:
Fix error in returning pointer to struct values.
2003-04-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: ([_service_forwardForProxy:]) don't free the
decoded selector name ... the NSPortCoder now does it.

View file

@ -483,7 +483,7 @@ callframe_do_call (DOContext *ctxt,
so we can see what it is a pointer to. */
tmptype++;
ctxt->type = tmptype;
ctxt->datum = *(void**)ctxt->datum;
ctxt->datum = *(void**)retval;
}
else
{

View file

@ -879,7 +879,7 @@ cifframe_do_call (DOContext *ctxt,
so we can see what it is a pointer to. */
tmptype++;
ctxt->type = tmptype;
ctxt->datum = *(void**)ctxt->datum;
ctxt->datum = *(void**)retval;
}
else
{