From f3635240b77bd838304320df4a2b84a2de94130c Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 10 Jan 2008 10:35:37 +0000 Subject: Fix a couple of 'return type defaults to int' and 'control reaches end of non-void function' warnings in test code. Originally committed as revision 11491 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/mathematics.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavutil/mathematics.c') diff --git a/libavutil/mathematics.c b/libavutil/mathematics.c index 71d8ba7b1a..f9c4a68573 100644 --- a/libavutil/mathematics.c +++ b/libavutil/mathematics.c @@ -114,7 +114,7 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq){ #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 @@ main(void){ } } } + return 0; } #endif -- cgit v1.2.3