diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-29 22:21:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-29 22:21:25 +0100 |
commit | 977cb54f941c423eddbdc95c76fb41fde31f8afc (patch) | |
tree | 3d886da7e4fabf2c7a1fb29c877db7f95367e32e | |
parent | 1838961357e38402be64c0c82a2f08e4e85a0c01 (diff) | |
download | ffmpeg-977cb54f941c423eddbdc95c76fb41fde31f8afc.tar.gz |
tree: fix type used for testing the tree
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/tree.c | 2 |
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); |