Skip to content
Snippets Groups Projects
Commit 90f06dc9 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

packetizer: fix bogus format for pointer difference


Use the same cast as below.

Co-authored-by: Alexandre Janniaux's avatarAlexandre Janniaux <ajanni@videolabs.io>
parent 44710998
No related branches found
No related tags found
1 merge request!6304packetizer: fix bogus format for pointer difference
Pipeline #533595 passed with stage
in 34 minutes and 10 seconds
......@@ -49,7 +49,7 @@ static int check_set( const uint8_t *p_set, const uint8_t *p_end,
p = pf_find( p, p_end );
if( p == NULL )
break;
printf("- entry %zu offset %ld\n", i_entry, p - p_set);
printf("- entry %zu offset %td\n", i_entry, p - p_set);
if( i_entry == i_results )
break;
if( p_results[i_entry].offset + i_results_offset != (size_t) (p - p_set) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment