]> icculus.org git repositories - btb/d2x.git/commit
Check each element of server instead of casting to int
authorBradley Bell <btb@icculus.org>
Sat, 2 May 2015 02:29:21 +0000 (19:29 -0700)
committerBradley Bell <btb@icculus.org>
Sat, 2 May 2015 02:32:43 +0000 (19:32 -0700)
commit2df0db24f0266b385f477a001d85cf239508c8d3
tree9f81f29cbbf0ad246419f191739b74c751c651da
parent7334aec19eccdeabc2a87a87f283e7542b7c2cae
Check each element of server instead of casting to int

Fixes:
main/network.c:759:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
main/network.c:882:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
main/network.c:3278:4: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
main/network.c