staging: fbtft: fbtft-io: Use '%zu' to print 'size_t' format
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 19 Feb 2015 12:12:12 +0000 (10:12 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 01:13:12 +0000 (17:13 -0800)
commit354fd570f067cfb11d62cccb6a686b82e2a8d234
tree184b710a6ecf0685fe33c92d53ddb1e6df19e7fd
parent3fed5bac16a7c3f949d59a0c96b4ffd8f63fbcc1
staging: fbtft: fbtft-io: Use '%zu' to print 'size_t' format

When building for ARM64 the following build warnings are seen:

drivers/staging/fbtft/fbtft-io.c: In function 'fbtft_write_spi_emulate_9':
drivers/staging/fbtft/fbtft-io.c:63:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=]

drivers/staging/fbtft/fbtft-io.c: In function 'fbtft_read_spi':
drivers/staging/fbtft/fbtft-io.c:110:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=]

Use '%zu' to print 'size_t' format.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-io.c