From: Antonio Ospite Date: Thu, 29 Sep 2011 21:20:26 +0000 (+0200) Subject: kinect_upload_fw: fix a -Wstrict-aliasing warning X-Git-Tag: v0.1~13 X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/commitdiff_plain/dc91fcdbc1dc8727ef17f1c8d13e818db2910ac5?hp=dc91fcdbc1dc8727ef17f1c8d13e818db2910ac5 kinect_upload_fw: fix a -Wstrict-aliasing warning kinect_upload_fw.c:87:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Use a union when there is the need to use the same memory for variables of incompatible types (especially if they have different storage size). ---