From: robertc <> Date: Mon, 9 Jun 2003 11:27:03 +0000 (+0000) Subject: Summary: fix 'not an lvalue' in HttpHdrSc.cc. X-Git-Tag: SQUID_3_0_PRE1~136 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=892e7ba76b80a2fca788707720864dfa2a3ae704;p=thirdparty%2Fsquid.git Summary: fix 'not an lvalue' in HttpHdrSc.cc. Keywords: fix 'not an lvalue' in HttpHdrSc.cc. --- diff --git a/src/HttpHdrSc.cc b/src/HttpHdrSc.cc index 775f496768..b21910f067 100644 --- a/src/HttpHdrSc.cc +++ b/src/HttpHdrSc.cc @@ -1,6 +1,6 @@ /* - * $Id: HttpHdrSc.cc,v 1.1 2003/03/10 04:56:36 robertc Exp $ + * $Id: HttpHdrSc.cc,v 1.2 2003/06/09 05:27:03 robertc Exp $ * * DEBUG: section 90 HTTP Cache Control Header * AUTHOR: Alex Rousskov @@ -54,7 +54,8 @@ HttpHeaderFieldInfo *ScFieldsInfo = NULL; http_hdr_sc_type &operator++ (http_hdr_sc_type &aHeader) { - aHeader = (http_hdr_sc_type)(++(int)aHeader); + int tmp = (int)aHeader; + aHeader = (http_hdr_sc_type)(++tmp); return aHeader; }