[FFmpeg-cvslog] tree: fix type used for testing the tree
Michael Niedermayer
git at videolan.org
Tue May 14 01:55:00 CEST 2013
ffmpeg | branch: release/1.0 | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 29 22:21:25 2012 +0100| [12cb64e8d97ad0ea33ab9252771750677f1a1eef] | committer: Michael Niedermayer
tree: fix type used for testing the tree
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 977cb54f941c423eddbdc95c76fb41fde31f8afc)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=12cb64e8d97ad0ea33ab9252771750677f1a1eef
---
libavutil/tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/tree.c b/libavutil/tree.c
index 4206539..745dd8a 100644
--- a/libavutil/tree.c
+++ b/libavutil/tree.c
@@ -205,7 +205,7 @@ int main (void)
av_lfg_init(&prng, 1);
for (i = 0; i < 10000; i++) {
- int j = av_lfg_get(&prng) % 86294;
+ intptr_t j = av_lfg_get(&prng) % 86294;
if (check(root) > 999) {
av_log(NULL, AV_LOG_ERROR, "FATAL error %d\n", i);
print(root, 0);
More information about the ffmpeg-cvslog
mailing list