Fix compile warnings for some targets

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
main
Jianhui Zhao 2018-03-11 22:23:02 +08:00
parent cefd7505c0
commit 2a204e7dac
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
add_definitions(-O -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wno-misleading-indentation -Wno-pointer-to-int-cast)
add_definitions(-O -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wno-misleading-indentation -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast)
# The version number.
set(UHTTPD_VERSION_MAJOR 2)