commit | 93d3ad2a8048469d2b2bb157697425b66b2a37aa | [log] [tgz] |
---|---|---|
author | Stefan Weil <sw@weilnetz.de> | Fri Aug 10 22:03:27 2012 +0200 |
committer | Stefan Hajnoczi <stefanha@gmail.com> | Fri Sep 14 08:21:27 2012 +0100 |
tree | 077cb94e83dcca763b0a339ad0c2aa9334e55835 | |
parent | e0a1e32dbc41e6b2aabb436a9417dfd32177a3dc [diff] |
srp: Don't use QEMU_PACKED for single elements of a structured type QEMU_PACKED results in a MinGW compiler warning when it is used for single structure elements: warning: 'gcc_struct' attribute ignored Using QEMU_PACKED for the whole structure avoids the compiler warning without changing the memory layout. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>