diff --git a/kernel/proto.h b/kernel/proto.h index 99f0f30..abe7bb7 100644 --- a/kernel/proto.h +++ b/kernel/proto.h @@ -386,7 +386,7 @@ long ASMPASCAL network_redirector_mx(unsigned cmd, void far *s, void *arg); #define remote_lseek(s,new_pos) network_redirector_mx(REM_LSEEK, s, &new_pos) #define remote_setfattr(attr) (int)network_redirector_mx(REM_SETATTR, NULL, (void *)attr) #define remote_printredir(dx,ax) (int)network_redirector_mx(REM_PRINTREDIR, MK_FP(0,dx),(void *)ax) -#define QRemote_Fn(d,s) (int)network_redirector_mx(REM_FILENAME, d, &s) +#define QRemote_Fn(d,s) (int)network_redirector_mx(REM_FILENAME, d, (void *)&s) UWORD get_machine_name(BYTE FAR * netname); VOID set_machine_name(BYTE FAR * netname, UWORD name_num);