File squid-2.6.STABLE19-64bit.patch of Package squid
--- squid-2.6.STABLE19/src/HttpHdrRange.c.orig 2008-03-18 00:34:41.000000000 +0100
+++ squid-2.6.STABLE19/src/HttpHdrRange.c 2008-03-26 16:35:07.000000000 +0100
@@ -485,7 +485,7 @@
if (!Config.rangeOffsetLimit)
/* disabled */
return 1;
- if (-1 == Config.rangeOffsetLimit)
+ if (-1U == Config.rangeOffsetLimit)
/* forced */
return 0;
if (Config.rangeOffsetLimit >= httpHdrRangeFirstOffset(range))
--- squid-2.6.STABLE19/src/HttpHeader.c.orig 2007-12-21 10:56:53.000000000 +0100
+++ squid-2.6.STABLE19/src/HttpHeader.c 2008-03-26 16:34:46.000000000 +0100
@@ -817,7 +817,7 @@
/* First try the quick path */
id = httpHeaderIdByNameDef(name, strlen(name));
- if (id != -1)
+ if (id != -1U)
return httpHeaderGetStrOrList(hdr, id);
/* Sorry, an unknown header name. Do linear search */
--- squid-2.6.STABLE19/src/store_io.c.orig 2006-11-05 22:14:31.000000000 +0100
+++ squid-2.6.STABLE19/src/store_io.c 2008-03-26 16:34:46.000000000 +0100
@@ -34,7 +34,7 @@
store_io_stats.create.calls++;
/* This is just done for logging purposes */
objsize = objectLen(e);
- if (objsize != -1)
+ if (objsize != -1U)
objsize += e->mem_obj->swap_hdr_sz;
/*
--- squid-2.6.STABLE19/src/external_acl.c.orig 2007-01-02 00:32:13.000000000 +0100
+++ squid-2.6.STABLE19/src/external_acl.c 2008-03-26 16:34:46.000000000 +0100
@@ -265,7 +265,7 @@
}
format->header = xstrdup(header);
format->header_id = httpHeaderIdByNameDef(header, strlen(header));
- if (format->header_id != -1) {
+ if (format->header_id != -1U) {
if (member)
format->type = EXT_ACL_HEADER_ID_MEMBER;
else