aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-29 22:21:25 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-05-14 01:43:33 +0200
commit12cb64e8d97ad0ea33ab9252771750677f1a1eef (patch)
tree86b8e0dd07ed41bd8e5cc52f00cf40f1381a5b3c
parentae668a283d5f8116fe47cde9737083cd7c7499e1 (diff)
downloadffmpeg-12cb64e8d97ad0ea33ab9252771750677f1a1eef.tar.gz
tree: fix type used for testing the tree
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 977cb54f941c423eddbdc95c76fb41fde31f8afc) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/tree.c b/libavutil/tree.c
index 4206539c37..745dd8ae02 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);