Fix 'classForPortCoder' for Protocol

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2873 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-07-29 09:31:39 +00:00
parent e8f693c6eb
commit fd3901c265

View file

@ -480,7 +480,7 @@ format: @"NSDistantObject objects only decode with PortDecoder class"];
* remote system, we must tell the other end to retain its
* local object for our use.
*/
if ([proxy_connection includesProxyForTarget: target] == NO)
if ([proxy_connection includesProxyForTarget: (id)target] == NO)
[proxy_connection retainTarget: target];
result = [[NSDistantObject proxyWithTarget: (id)target
@ -585,7 +585,7 @@ format: @"NSDistantObject objects only decode with PortDecoder class"];
- (Class) classForPortCoder
{
return [self classForCoder];
return [self class];
}
- replacementObjectForPortCoder: (NSPortCoder*)aRmc;