]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: fix 'not an lvalue' in HttpHdrSc.cc.
authorrobertc <>
Mon, 9 Jun 2003 11:27:03 +0000 (11:27 +0000)
committerrobertc <>
Mon, 9 Jun 2003 11:27:03 +0000 (11:27 +0000)
Keywords:

fix 'not an lvalue' in HttpHdrSc.cc.

src/HttpHdrSc.cc

index 775f496768d9b91eccc6f5cef82bbd47714d3433..b21910f067955911b464de13075c0ee4bf230e0c 100644 (file)
@@ -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;
 }