Home
last modified time | relevance | path

Searched hist:"2 d1b83b346431bfee7574822d356e5a28ead21d3" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/fs/fat/
H A Dfat.c2d1b83b346431bfee7574822d356e5a28ead21d3 Thu Dec 15 08:56:54 UTC 2011 Andreas Bießmann <biessmann@corscience.de> fat.c: fix printf() length modifier

The DIRENTSPERBLOCK utilizes sizeof() which will return a size_t which has no
fixed size. Therefor use correct length modifer for printf() statement to
prevent compiler warnings.

This patch fixes following warning:

---8<---
fat.c: In function 'do_fat_read':
fat.c:879: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
--->8---

Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
cc: Mike Frysinger <vapier@gentoo.org>
cc: Thomas Chou <thomas@wytron.com.tw>
cc: rjones@nexus-tech.net
cc: kharris@nexus-tech.net
Acked-by: Mike Frysinger <vapier@gentoo.org>