From 12b238c275300f8ff1b02584383fd0418406de68 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Tue, 15 Jun 1999 03:51:47 +0000 Subject: [PATCH] (send_data): remove a warning git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6324 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index 1ae44b3b7..aefe73c20 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -1228,7 +1228,7 @@ send_data(FILE *instr, FILE *outstr) int in = fileno(instr); if(fstat(in, &st) == 0 && S_ISREG(st.st_mode)) { chunk = mmap(0, st.st_size, PROT_READ, MAP_SHARED, in, 0); - if(chunk != (void *)MAP_FAILED) { + if((void *)chunk != (void *)MAP_FAILED) { cnt = st.st_size - restart_point; sec_write(fileno(outstr), chunk + restart_point,