[patch] fix signedness warning for gen_pmt.c
Johann Hanne <[email protected]>
| Newsgroups | gmane.comp.video.videolan.libdvbpsi.devel |
|---|---|
| Message-ID | <200710102138.43092.jhml__27134.1492225931$1192045158$gmane$org@gmx.net> |
Hi, a function in gen_pmt.c passes a char[] variable where the called function has an uint8_t[] in its declaration. The attached patch fixes this. Please apply. Cheers, Johann _______________________________________________ libdvbpsi-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libdvbpsi-devel
libdvbpsi-svn145-gen_pmt_fix_signedness.diff
(text/x-diff, 431 B)
--- libdvbpsi-svn145/misc/gen_pmt.c 2007-10-07 13:00:10.000000000 +0200
+++ libdvbpsi-svn145-fixes/misc/gen_pmt.c 2007-10-10 21:19:57.000000000 +0200
@@ -104,7 +104,7 @@
int main(int i_argc, char* pa_argv[])
{
uint8_t packet[188];
- char data[] = "abcdefghijklmnopqrstuvwxyz";
+ uint8_t data[] = "abcdefghijklmnopqrstuvwxyz";
dvbpsi_pmt_t pmt;
dvbpsi_pmt_es_t* p_es;
dvbpsi_psi_section_t* p_section1, * p_section2;