Staging: quickstart: Fix compilation warning on 64 bit arch
authorSzymon Janc <szymon@janc.net.pl>
Fri, 10 Feb 2012 20:05:43 +0000 (21:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2012 04:08:56 +0000 (20:08 -0800)
commit5f01f7f301db567a7a2b99d012db1c408ce0e9de
tree557b13d3e7800ced072d6b5bc92220b22494fa52
parentaf5728e08afab1baeb97cc881e2d6158c69bae19
Staging: quickstart: Fix compilation warning on 64 bit arch

acpi_size is u32 or u64 depending on architecture. Cast it to
unsigned long and use %lu for printing.

This fix following build warning:
drivers/staging/quickstart/quickstart.c: In function ‘quickstart_acpi_ghid’:
drivers/staging/quickstart/quickstart.c:212:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘acpi_size’ [-Wformat]

Signed-off-by: Szymon Janc <szymon@janc.net.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/quickstart/quickstart.c