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

When building for ARM64 the following build warning is seen:

drivers/staging/fbtft/fbtft-core.c:1004:4: warning: format '%d' expects argument of type 'int', but argument 3 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-core.c