libavutil: cast truncated values to uint32_t
authorAlfred E. Heggestad <aeh@db.org>
Mon, 26 Aug 2013 20:31:43 +0000 (22:31 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 27 Aug 2013 12:25:34 +0000 (14:25 +0200)
commit16c3ed5837884e2b60cf40e762be6c58b13d7ba6
tree22d2859807935461e1e95f1679376e29e5bcc92c
parent231201382ea0697b9e29fabcd7996db719ea8b9a
libavutil: cast truncated values to uint32_t

programs using ffmpeg that are compiled with -Wshorten-64-to-32
gives a warning when using header files common.h and rational.h

cast 64-bit truncated values to (uint32_t) to avoid the warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/common.h
libavutil/rational.h