correct casting

This commit is contained in:
posophe 2015-04-18 13:09:46 +02:00
parent 14b399f803
commit 327731852e

View File

@ -667,7 +667,7 @@ done:
pxp->bf_rflags |= rflags;
pxp->bf_refcount++;
*vpp = (char *)pxp->bf_base + diff;
*vpp = (void *)((char *)pxp->bf_base + diff);
return ENOERR;
}