diff options
| author | Tuncer Ayaz <[email protected]> | 2011-05-10 18:53:19 +0200 |
|---|---|---|
| committer | Tuncer Ayaz <[email protected]> | 2011-08-15 18:52:20 +0200 |
| commit | 614729daeb0078707fc2514749de5604cb38bfb2 (patch) | |
| tree | f772a9a685291b696dce84cc85f74297c0a567ce /bootstrap/lib/stdlib/ebin/array.beam | |
| parent | 4c3ab3467750003221f95d820e16f04cd861c308 (diff) | |
| download | otp-614729daeb0078707fc2514749de5604cb38bfb2.tar.gz otp-614729daeb0078707fc2514749de5604cb38bfb2.tar.bz2 otp-614729daeb0078707fc2514749de5604cb38bfb2.zip | |
erts: use a union to avoid strict aliasing issues
Use a union for pointer type conversion to avoid compiler warnings
about strict-aliasing violations with gcc-4.1. gcc >= 4.2 does not
emit the warning.
TODO: Reconsider use of union once gcc-4.1 is obsolete?
Diffstat (limited to 'bootstrap/lib/stdlib/ebin/array.beam')
0 files changed, 0 insertions, 0 deletions
