mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-23 01:29:34 +00:00
some change in paramBlock
This commit is contained in:
parent
bf1bdb6f92
commit
02e687a878
@ -26,7 +26,7 @@ OSErr OpenDriver(ConstStr255Param name, short *drvrRefNum)
|
||||
|
||||
memset(¶m, 0, sizeof(ParamBlockRec));
|
||||
|
||||
param.ioNamePtr = (u_int32_t)name;
|
||||
param.ioNamePtr = (unsigned char*)name;
|
||||
param.ioPermssn = fsCurPerm;
|
||||
|
||||
err = PBOpenSync(¶m);
|
||||
|
Loading…
Reference in New Issue
Block a user