diff integer.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 4e4ba0186360
line wrap: on
line diff
--- a/integer.c	Tue Jan 08 22:54:49 2008 +0000
+++ b/integer.c	Thu Jan 10 10:35:37 2008 +0000
@@ -171,7 +171,7 @@
         7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
 };
 
-main(void){
+int main(void){
     int64_t a,b;
 
     for(a=7; a<256*256*256; a+=13215){
@@ -192,5 +192,6 @@
             assert(av_i2int(av_div_i(ai,bi)) == a/b);
         }
     }
+    return 0;
 }
 #endif