From: Francesco Chemolli Date: Thu, 5 Nov 2009 17:23:50 +0000 (+0100) Subject: Fix kerberos helper: c++ is stricter than c in what is an allowable array index type. X-Git-Tag: SQUID_3_2_0_1~609 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e2da4ad095f83bfbee54ec26f06aef435bd700;p=thirdparty%2Fsquid.git Fix kerberos helper: c++ is stricter than c in what is an allowable array index type. --- diff --git a/helpers/negotiate_auth/kerberos/base64.cc b/helpers/negotiate_auth/kerberos/base64.cc index c4593cdb94..96ab1347cf 100644 --- a/helpers/negotiate_auth/kerberos/base64.cc +++ b/helpers/negotiate_auth/kerberos/base64.cc @@ -27,7 +27,7 @@ ska_base64_init(void) for (i = 0; i < 64; i++) base64_value[(int) base64_code[i]] = i; - base64_value['='] = 0; + base64_value[(int)'='] = 0; base64_initialized = 1; }