diff options
| author | Manuel Mausz <manuel@mausz.at> | 2019-06-11 15:28:27 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2019-06-11 15:29:11 +0200 |
| commit | 692760720b197b46e8e4268bede8cad6f90399aa (patch) | |
| tree | 0d0d5f45759b83e15d6668357f9482dca236880b /subfdins.c | |
| parent | 54bb1142daa7c25f626176bb9357e1fc7ca75fbb (diff) | |
| download | qmail-692760720b197b46e8e4268bede8cad6f90399aa.tar.gz qmail-692760720b197b46e8e4268bede8cad6f90399aa.tar.bz2 qmail-692760720b197b46e8e4268bede8cad6f90399aa.zip | |
Fix compile warnings...
Diffstat (limited to 'subfdins.c')
| -rw-r--r-- | subfdins.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,8 +1,8 @@ | |||
| 1 | #include "readwrite.h" | 1 | #include <unistd.h> |
| 2 | #include "substdio.h" | 2 | #include "substdio.h" |
| 3 | #include "subfd.h" | 3 | #include "subfd.h" |
| 4 | 4 | ||
| 5 | int subfd_readsmall(fd,buf,len) int fd; char *buf; int len; | 5 | ssize_t subfd_readsmall(fd,buf,len) int fd; char *buf; int len; |
| 6 | { | 6 | { |
| 7 | if (substdio_flush(subfdoutsmall) == -1) return -1; | 7 | if (substdio_flush(subfdoutsmall) == -1) return -1; |
| 8 | return read(fd,buf,len); | 8 | return read(fd,buf,len); |
