diff mathematics.c @ 427:e7192ff1857d libavutil

Fix a couple of 'return type defaults to int' and 'control reaches end of non-void function' warnings in test code.
author diego
date Thu, 10 Jan 2008 10:35:37 +0000
parents d9390a931aef
children dcb08e8f3b2e
line wrap: on
line diff
--- a/mathematics.c	Tue Jan 08 22:54:49 2008 +0000
+++ b/mathematics.c	Thu Jan 10 10:35:37 2008 +0000
@@ -114,7 +114,7 @@
 #ifdef TEST
 #include "integer.h"
 #undef printf
-main(void){
+int main(void){
     int64_t a,b,c,d,e;
 
     for(a=7; a<(1LL<<62); a+=a/3+1){
@@ -136,5 +136,6 @@
             }
         }
     }
+    return 0;
 }
 #endif