X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..e2fac8b15b12a7979f72090454d850e612fc5b13:/bsd/netat/adsp_Options.c?ds=sidebyside diff --git a/bsd/netat/adsp_Options.c b/bsd/netat/adsp_Options.c index 69f2e13c1..f40ce433b 100644 --- a/bsd/netat/adsp_Options.c +++ b/bsd/netat/adsp_Options.c @@ -72,8 +72,6 @@ int adspOptions(sp, pb) /* (DSPPBPtr pb) */ CCBPtr sp; struct adspcmd *pb; { - short err; - if (sp == 0) { pb->ioResult = errRefNum; return EINVAL; @@ -99,7 +97,7 @@ int adspOptions(sp, pb) /* (DSPPBPtr pb) */ if (pb->u.optionParams.newPID) sp->pid = pb->u.optionParams.newPID; pb->ioResult = 0; - adspioc_ack(0, pb->ioc, pb->gref); + adspioc_ack(0, (gbuf_t *)pb->ioc, pb->gref); return 0; }