]> git.ipfire.org Git - thirdparty/squid.git/commit
Make GCC 4.8 happy with libip code
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 25 Jul 2013 13:06:58 +0000 (07:06 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 25 Jul 2013 13:06:58 +0000 (07:06 -0600)
commit68fb74b04edd0a7b41099db8029aeb166b793ec1
tree56a06425fa90a3fdcb87ec7a7824bedc97476a7b
parentdfb6dc9d0bf6aa4a2c096542c8795701c346555c
Make GCC 4.8 happy with libip code

Invalid casting seems to confuse the ABI generator and results in
illegal instruction faults when the unit tests is run.
The class API is already const-correct so there is no need for the cast
to occur, and it should not be done on a non-pointer type anyway.

Also, fixes a missing "struct" type identifier found along the way.
src/ip/Address.cc
src/ip/testAddress.cc