From: Alex Rousskov Date: Sat, 22 Sep 2012 03:14:27 +0000 (-0600) Subject: Bug 3647: parsing hier_code acl fails X-Git-Tag: SQUID_3_2_2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c637e9732d1dbcbc976d8d7b3a577a7958e4c351;p=thirdparty%2Fsquid.git Bug 3647: parsing hier_code acl fails --- diff --git a/src/hier_code.h b/src/hier_code.h index 678cb593fa..e8b57d69a5 100644 --- a/src/hier_code.h +++ b/src/hier_code.h @@ -31,6 +31,6 @@ typedef enum { extern const char *hier_code_str[]; -inline hier_code operator++(hier_code &i) { return (hier_code)(i+1); } +inline hier_code operator++(hier_code &i) { return i = (hier_code)(1+(int)i); } #endif /* SQUID__HIER_CODE_H */