Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
90f06dc9 by Steve Lhomme at 2024-11-13T10:54:10+00:00
packetizer: fix bogus format for pointer difference

Use the same cast as below.

Co-authored-by: Alexandre Janniaux <[email protected]>

- - - - -


1 changed file:

- test/modules/packetizer/helpers.c


Changes:

=====================================
test/modules/packetizer/helpers.c
=====================================
@@ -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) )



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/90f06dc9f297deb39260e1659fafaadc268582d2

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/90f06dc9f297deb39260e1659fafaadc268582d2
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to