diff auto/types/typedef @ 4559:62d8db8c7157

Fixed more gcc46 warnings in configure tests. Steps to reproduce: ./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2"
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 27 Mar 2012 16:44:52 +0000
parents 51744fa997c7
children 434548349838
line wrap: on
line diff
--- 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