summaryrefslogtreecommitdiffstats
path: root/export-html.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-12-30 22:01:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-31 07:58:45 -0800
commitc4e1e96032df3247a4a5f3243c55a51c723d3ae1 (patch)
tree53b033ec20898abd4734fb4912f54d0e65e1caea /export-html.cpp
parent779292a322874ed958bc4aaabae4d1a0463882ee (diff)
downloadsubsurface-c4e1e96032df3247a4a5f3243c55a51c723d3ae1.tar.gz
divesite.c: use union in create_divesite_uuid()
The return produces a warning about "strict-aliasing rules". Use a union to fit the hash and the uint32_t into the same block of memory, which obeys the GCC strict-aliasing rules. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'export-html.cpp')
0 files changed, 0 insertions, 0 deletions