X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Futils%2Fproto.c;h=26c4826a7f949a003d67932bd283cc59eff2befd;hb=3cd97771183ee38e5fc8c3b2268cffce3c2cb27c;hp=404d2a30ec5d2dabd270ab393bd9e262ec429017;hpb=0e9ae0a6da794b4c6f514c123d2a0ab9527ad592;p=sysdb.git diff --git a/src/utils/proto.c b/src/utils/proto.c index 404d2a3..26c4826 100644 --- a/src/utils/proto.c +++ b/src/utils/proto.c @@ -80,7 +80,7 @@ sdb_proto_select(int fd, int type) n = select(fd + 1, readfds, writefds, exceptfds, NULL); if ((n < 0) && (errno != EINTR)) - return (ssize_t)n; + return n; if (n > 0) break; }