Changeset 8fe36e1 in rtems
- Timestamp:
- 05/24/00 14:21:27 (23 years ago)
- Children:
- 1a9006a
- Parents:
- 625f1a6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/librpc/src/rpc/rtems_portmapper.c
r625f1a6 r8fe36e1 164 164 * Set a program,version to port mapping 165 165 */ 166 if (!svc_getargs(xprt, xdr_pmap, ®))166 if (!svc_getargs(xprt, xdr_pmap, (caddr_t) ®)) 167 167 svcerr_decode(xprt); 168 168 else { … … 212 212 * Remove a program,version to port mapping. 213 213 */ 214 if (!svc_getargs(xprt, xdr_pmap, ®))214 if (!svc_getargs(xprt, xdr_pmap, (caddr_t) ®)) 215 215 svcerr_decode(xprt); 216 216 else { … … 246 246 * Lookup the mapping for a program,version and return its port 247 247 */ 248 if (!svc_getargs(xprt, xdr_pmap, ®))248 if (!svc_getargs(xprt, xdr_pmap, (caddr_t) ®)) 249 249 svcerr_decode(xprt); 250 250 else { … … 300 300 #define ARGSIZE 9000 301 301 302 typedefstruct encap_parms {302 /* typedef */ struct encap_parms { 303 303 u_long arglen; 304 304 char *args; … … 415 415 timeout.tv_usec = 0; 416 416 a.rmt_args.args = buf; 417 if (!svc_getargs(xprt, xdr_rmtcall_args, &a))417 if (!svc_getargs(xprt, xdr_rmtcall_args, (caddr_t) &a)) 418 418 return; 419 419 if ((pml = find_service(a.rmt_prog, a.rmt_vers, IPPROTO_UDP)) == NULL)
Note: See TracChangeset
for help on using the changeset viewer.