tree: fix type used for testing the tree
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									1838961357
								
							
						
					
					
						commit
						977cb54f94
					
				| @ -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); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user