aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_create.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-07-25 17:57:22 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-07-25 17:57:22 +0100
commitb1ec741ea12eb599ce055e408b5d15fa7c7c8ea1 (patch)
treee8c1b646937377bc307dad4667097d3ee9f722f9 /tools/libxl/libxl_create.c
parentbd1c6cec55afc265a019886f57dfc5bf4c2e1623 (diff)
downloadxen-b1ec741ea12eb599ce055e408b5d15fa7c7c8ea1.tar.gz
xen-b1ec741ea12eb599ce055e408b5d15fa7c7c8ea1.tar.bz2
xen-b1ec741ea12eb599ce055e408b5d15fa7c7c8ea1.zip
libxl: libxl__device_model_version_running should return an int
On error it returns -1 and therefore it needs to return int and not libxl_device_model_enum. Otherwise gcc 4.6.2 complains: libxl.c: In function ‘libxl_domain_suspend’: libxl.c:778:9: error: case value ‘4294967295’ not in enumerated type ‘libxl_device_model_version’ [-Werror=switch] Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl_create.c')
0 files changed, 0 insertions, 0 deletions