stat: Fix a compiler warning in __show_run_stats()
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 12 Mar 2018 21:16:56 +0000 (14:16 -0700)
committerBart Van Assche <bart.vanassche@wdc.com>
Mon, 12 Mar 2018 21:42:50 +0000 (14:42 -0700)
commitafd74e2aed65786b07daefb67b334c149f584e01
tree1c680a5f6fa660691b2717f8673b6eeaf5b2ca75
parente96c0125b80207677ea5367743fa69a2950acb48
stat: Fix a compiler warning in __show_run_stats()

Avoid that gcc reports the following warning on NetBSD systems:

    CC stat.o
stat.c: In function '__show_run_stats':
stat.c:1868: warning: dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
stat.c