From 947c7d6f944972c631ecd005cbd3d573c3f8607b Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 25 May 2009 09:54:05 +0000 Subject: Fix a signedness compiler warning. svn path=/branches/BRANCH_6-3/; revision=5328 --- transact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3