projects
/
kinect-audio-setup.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
dc91fcd
)
kinect_upload_fw: fix a -Wstrict-aliasing warning
author
Antonio Ospite <ospite@studenti.unina.it>
Thu, 29 Sep 2011 21:20:26 +0000
(23:20 +0200)
committer
Antonio 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