From 859ac24170e1131755167724467317ad660c130b Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Sun, 2 May 2004 15:21:35 +0000 Subject: [PATCH] We have to cast away const to deal with the generic "void *" pointer and some compiler warning. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@912 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);