uhttpd: fix time_t type mismatch on 32bit systems
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Jan 2015 17:59:08 +0000 (17:59 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Jan 2015 17:59:08 +0000 (17:59 +0000)
commitdfa9a409c99bf7f7fb88e371d54163cc92c540d5
tree3c5b7a2cc3fcfdd2ae8cb1c8a791cded8b32fb44
parent60fade712548ed1d024b474b95833f9fe680337c
uhttpd: fix time_t type mismatch on 32bit systems

The previous update introducing LFS support unconditionally changed the
sprintf() pattern used to print the file modification time to use PRIx64.

Explicitely convert the st_mtime member of the stat struct to uint64_t in
order to avoid type mismatch errors when building for non-64bit targets.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44138 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/uhttpd/Makefile