]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Remove invalid size_t cast
authorhno <>
Tue, 14 Aug 2007 00:35:24 +0000 (00:35 +0000)
committerhno <>
Tue, 14 Aug 2007 00:35:24 +0000 (00:35 +0000)
src/cache_cf.cc

index f5a1408cf0cb171689730d33b6d04b60cb5ab541..f2cdd3c3d01ef2bd0b91ad51a1d23c5bf5dec1b0 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.516 2007/08/13 18:25:14 hno Exp $
+ * $Id: cache_cf.cc,v 1.517 2007/08/13 18:35:24 hno Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -714,7 +714,7 @@ parseBytesLine64(int64_t * bptr, const char *units)
         self_destruct();
 
     if (strcmp(token, "none") == 0 || strcmp(token, "-1") == 0) {
-        *bptr = static_cast<size_t>(-1);
+        *bptr = -1;
         return;
     }