]> git.ipfire.org Git - thirdparty/squid.git/commit - lib/encrypt.c
Windows: Ensure array index is an integer in C code
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 16 Nov 2013 12:42:10 +0000 (01:42 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 16 Nov 2013 12:42:10 +0000 (01:42 +1300)
commit8bd4e67ea66b5401de1e9973fdb7f5609a98cba9
tree9d4eef84ad5a9c5e15d2c55f5102e6488ec124a0
parentc827044887ad21b85d744ce53aa5f6302458edd4
Windows: Ensure array index is an integer in C code

MSVC compiler does not accet non-integer types for array indexes so we
must cast these CHAR index values to int before use.

 This is an iCelero Inc sponsored fix.
lib/encrypt.c