some change in paramBlock

This commit is contained in:
Laurent Vivier 2005-11-04 10:20:39 +00:00
parent bf1bdb6f92
commit 02e687a878

View File

@ -26,7 +26,7 @@ OSErr OpenDriver(ConstStr255Param name, short *drvrRefNum)
memset(&param, 0, sizeof(ParamBlockRec));
param.ioNamePtr = (u_int32_t)name;
param.ioNamePtr = (unsigned char*)name;
param.ioPermssn = fsCurPerm;
err = PBOpenSync(&param);