Skip to content
Snippets Groups Projects
Commit 634c8c21 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44138
parent ee3eade2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment