Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use memcpy() instead of possibly broken aliasing through an union.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 29 Jun 2012 07:03:47 +0000 (09:03 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 29 Jun 2012 07:03:47 +0000 (09:03 +0200)
According to C standard:
J.1 Unspecified behavior
The following are unspecified:
[...]
-- The value of a union member other than the last one stored into (6.2.6.1).


No differences found