kinect_upload_fw: fix a -Wstrict-aliasing warning
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 29 Sep 2011 21:20:26 +0000 (23:20 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 29 Sep 2011 21:40:12 +0000 (23:40 +0200)
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).


No differences found