aboutsummaryrefslogtreecommitdiffstats
path: root/transact.c
diff options
context:
space:
mode:
Diffstat (limited to 'transact.c')
-rw-r--r--transact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transact.c b/transact.c
index 7f658bc8..b890c0cb 100644
--- a/transact.c
+++ b/transact.c
@@ -1337,7 +1337,7 @@ int readheaders(int sock,
*cp++ = '\0';
n = stuffline(ctl, buf);
- if (n == strlen(buf))
+ if ((size_t)n == strlen(buf))
return PS_SUCCESS;
else
return PS_SOCKET;