diff options
-rw-r--r-- | common/smtppass.c | 2 | ||||
-rw-r--r-- | common/sock_any.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/smtppass.c b/common/smtppass.c index afdff03..4119335 100644 --- a/common/smtppass.c +++ b/common/smtppass.c @@ -727,7 +727,7 @@ cleanup: thread->fd = -1; sp_unlock(); - return (void*)(ret == 0 ? 0 : 1); + return (void*)(ret == 0 ? (size_t)0 : (size_t)1); } static int make_connections(spctx_t* ctx, int client) diff --git a/common/sock_any.h b/common/sock_any.h index af87691..9282e36 100644 --- a/common/sock_any.h +++ b/common/sock_any.h @@ -57,7 +57,7 @@ struct sockaddr_any struct sockaddr_in6 in6; #endif } s; - size_t namelen; + socklen_t namelen; }; #define SANY_ADDR(any) ((any).s.a) |