diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-08-10 22:03:27 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@gmail.com> | 2012-09-14 08:21:27 +0100 |
commit | 93d3ad2a8048469d2b2bb157697425b66b2a37aa (patch) | |
tree | 077cb94e83dcca763b0a339ad0c2aa9334e55835 /qemu-img.c | |
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>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions