Fixed more gcc46 warnings in configure tests.

Steps to reproduce:

./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2"
This commit is contained in:
Maxim Dounin
2012-03-27 16:44:52 +00:00
parent 36aef0c383
commit a3bdd737e5
5 changed files with 41 additions and 26 deletions

View File

@@ -28,9 +28,8 @@ do
$NGX_INCLUDE_INTTYPES_H
int main() {
$ngx_try i;
i = 0;
return 0;
$ngx_try i = 0;
return (int) i;
}
END

View File

@@ -15,9 +15,8 @@ cat << END > $NGX_AUTOTEST.c
$NGX_INTTYPES_H
int main() {
uintptr_t i;
i = 0;
return 0;
uintptr_t i = 0;
return (int) i;
}
END