diff options
Diffstat (limited to 'xed.c')
-rw-r--r-- | xed.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -36,7 +36,7 @@ static const char id[]="$Id$"; #include "xedkeys.h" -#define VERSION "V2.1" +#define VERSION "V2.2" #define USAGE "[-x] [-i] [-r] [-c] [-R] file" #define NONE 0 @@ -101,8 +101,8 @@ void SearchString(void); void DoSearchString(void); void SearchHex(void); void DoSearchHex(void); -int Read(int fd, void *buff, int no); -int Write(int fd, void *buff, int no); +int Read(int fd, uchar *buff, int no); +int Write(int fd, const uchar *buff, int no); void OpenFile(void); void SaveFile(void); int CalcHex(int x[]); @@ -1074,7 +1074,7 @@ void DoSearchHex(void) /* Provide a skin to read(2) and write(2) */ -int Read(int fd, void *buff, int no) +int Read(int fd, uchar *buff, int no) { int tot,rd; @@ -1100,7 +1100,7 @@ int Read(int fd, void *buff, int no) } -int Write(int fd, void *buff, int no) +int Write(int fd, const uchar *buff, int no) { int tot,wr; |