]> git.ipfire.org Git - thirdparty/squid.git/commit
Make GCC 4.8 happy with libip code
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 26 Jul 2013 12:43:39 +0000 (06:43 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 26 Jul 2013 12:43:39 +0000 (06:43 -0600)
commit86ba1e22cd711f091b2403399993f903a5790812
tree85eaf916a8300b2e378db46b17e8784c3a23bb97
parentd1ffd036a2d749a80aad1d0e28f87f95e7f9167a
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