Replaced evil pointer magic with offsetof()
authorNikolaus Rath <Nikolaus@rath.org>
Thu, 12 Jan 2017 23:17:54 +0000 (15:17 -0800)
committerNikolaus Rath <Nikolaus@rath.org>
Thu, 12 Jan 2017 23:19:04 +0000 (15:19 -0800)
commit3006686b536942f6f96675e3d12b793087e78e6a
tree5e18731982bac1ce4d0fb7506a08df8f91f7d544
parent9e3147feab8e313b54388df2bda8540ff2afdd02
Replaced evil pointer magic with offsetof()

This triggered undefined behaviour warnings from UBSan.
example/cuse.c