From a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Tue, 27 Mar 2012 16:44:52 +0000 Subject: Fixed more gcc46 warnings in configure tests. Steps to reproduce: ./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2" --- auto/types/typedef | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'auto/types/typedef') diff --git a/auto/types/typedef b/auto/types/typedef index 697190097..d81229331 100644 --- a/auto/types/typedef +++ b/auto/types/typedef @@ -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 -- cgit