diff --git a/kernel/config.c b/kernel/config.c index 2654d29..2b8f8d7 100644 --- a/kernel/config.c +++ b/kernel/config.c @@ -2417,7 +2417,6 @@ struct CountrySpecificInfo specificCountriesSupported[] = { STATIC int LoadCountryInfoHardCoded(char *filename, COUNT ctryCode, COUNT codePage) { - int i; struct CountrySpecificInfo *country; UNREFERENCED_PARAMETER(codePage); UNREFERENCED_PARAMETER(filename); diff --git a/kernel/proto.h b/kernel/proto.h index 079e6b0..9b9512c 100644 --- a/kernel/proto.h +++ b/kernel/proto.h @@ -380,7 +380,7 @@ COUNT truename(const char FAR * src, char * dest, COUNT t); int network_redirector(unsigned cmd); int network_redirector_fp(unsigned cmd, void far *s); long ASMPASCAL network_redirector_mx(unsigned cmd, void far *s, void *arg); -#define remote_rw(cmd,s,arg) (int)network_redirector_mx(cmd, s, (void *)arg) +#define remote_rw(cmd,s,arg) network_redirector_mx(cmd, s, (void *)arg) #define remote_getfree(s,d) (int)network_redirector_mx(REM_GETSPACE, s, d) #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)