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)
commit634c8c215cd5416f2776b02e488bf2c3d0edd59c
tree09924653013fe1649300d3e24237406dc8d163e3
parentee3eade28597b7fe4157c55b816af69a94ca4d0a
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>
SVN-Revision: 44138
package/network/services/uhttpd/Makefile