From: hno <> Date: Tue, 14 Aug 2007 00:35:24 +0000 (+0000) Subject: Remove invalid size_t cast X-Git-Tag: SQUID_3_0_PRE7~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc41416d2d078ef5005b75b02ab4145913a7ca40;p=thirdparty%2Fsquid.git Remove invalid size_t cast --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index f5a1408cf0..f2cdd3c3d0 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -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(-1); + *bptr = -1; return; }