diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-01-10 10:35:37 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-01-10 10:35:37 +0000 |
commit | f3635240b77bd838304320df4a2b84a2de94130c (patch) | |
tree | 250751a9847d383e4a75f559eb9d08513feb73ce /libavutil/mathematics.c | |
parent | c33820e52e8829668ef59b7ead6acee09558504f (diff) | |
download | ffmpeg-f3635240b77bd838304320df4a2b84a2de94130c.tar.gz |
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
Diffstat (limited to 'libavutil/mathematics.c')
-rw-r--r-- | libavutil/mathematics.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |