summaryrefslogtreecommitdiffhomepage
path: root/auto/types/uintptr_t
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-03-27 16:44:52 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-03-27 16:44:52 +0000
commita3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b (patch)
tree796c9a33dfe4dcdc09734dbba80b982aad4a9b98 /auto/types/uintptr_t
parent36aef0c383bfe285a12b4b826563a768efe181d6 (diff)
downloadnginx-a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b.tar.gz
nginx-a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b.tar.bz2
Fixed more gcc46 warnings in configure tests.
Steps to reproduce: ./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2"
Diffstat (limited to 'auto/types/uintptr_t')
-rw-r--r--auto/types/uintptr_t5
1 files changed, 2 insertions, 3 deletions
diff --git a/auto/types/uintptr_t b/auto/types/uintptr_t
index 2a00b493c..2f1908035 100644
--- a/auto/types/uintptr_t
+++ b/auto/types/uintptr_t
@@ -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