Commit 977cb54f authored by Michael Niedermayer's avatar Michael Niedermayer

tree: fix type used for testing the tree

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 18389613
...@@ -210,7 +210,7 @@ int main (void) ...@@ -210,7 +210,7 @@ int main (void)
av_lfg_init(&prng, 1); av_lfg_init(&prng, 1);
for (i = 0; i < 10000; i++) { 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) { if (check(root) > 999) {
av_log(NULL, AV_LOG_ERROR, "FATAL error %d\n", i); av_log(NULL, AV_LOG_ERROR, "FATAL error %d\n", i);
print(root, 0); print(root, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment