libxl: fix build on 32-bit
authorIan Campbell <ian.campbell@citrix.com>
Thu, 21 Feb 2013 10:59:51 +0000 (10:59 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 21 Feb 2013 11:44:22 +0000 (11:44 +0000)
commite2e2c9d51d2424ca47675cad86597feec33f4bc3
tree9bc0d919ae4366ac928e93a41603a6b4879377ce
parentafecd83025c45fa7e32f6219379b8d6a0dff3c99
libxl: fix build on 32-bit

aab4d1b266ce "libxl: Add qxl vga interface support for upstream qemu"
introduced:
libxl_dm.c: In function ‘libxl__build_device_model_args_new’:
libxl_dm.c:449: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’
libxl_dm.c:451: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’

on arm32 and x86_32.

Use the inttypes.h PRId64 macro.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_dm.c