aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-29 22:21:25 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-10-29 22:21:25 +0100
commit977cb54f941c423eddbdc95c76fb41fde31f8afc (patch)
tree3d886da7e4fabf2c7a1fb29c877db7f95367e32e
parent1838961357e38402be64c0c82a2f08e4e85a0c01 (diff)
downloadffmpeg-977cb54f941c423eddbdc95c76fb41fde31f8afc.tar.gz
tree: fix type used for testing the tree
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 5803c2a881..45ec8d973a 100644
--- a/libavutil/tree.c
+++ b/libavutil/tree.c
@@ -210,7 +210,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);