Fix compiler warnings.
The fixed warnings are: bitstream/dvb/sim.h: In function "tlv_find_data": bitstream/dvb/sim.h:216:5: warning: return discards qualifiers from pointer target type bitstream/dvb/sim.h: In function "ecmg_validate": bitstream/dvb/sim.h:389:5: warning: excess elements in scalar initializer bitstream/dvb/sim.h:389:5: warning: (near initialization for "p_param") bitstream/dvb/sim.h:389:5: warning: excess elements in scalar initializer bitstream/dvb/sim.h:389:5: warning: (near initialization for "p_param") bitstream/dvb/si.h: In function "dvb_string_set": bitstream/dvb/si.h:174:9: warning: pointer targets in passing argument 1 of "strlen" differ in signedness /usr/include/string.h:399:15: note: expected "const char *" but argument is of type "const uint8_t *" bitstream/dvb/si.h:174:9: warning: pointer targets in passing argument 1 of "__strdup" differ in signedness /usr/include/bits/string2.h:1303:14: note: expected "const char *" but argument is of type "const uint8_t *" bitstream/dvb/si.h:174:9: warning: pointer targets in return differ in signedness bitstream/dvb/si.h: In function "dvb_string_get": bitstream/dvb/si.h:219:25: warning: passing argument 3 of "pf_iconv" discards qualifiers from pointer target type bitstream/dvb/si.h:219:25: note: expected "char *" but argument is of type "const uint8_t *" bitstream/dvb/si.h: In function "desc48_get_service": bitstream/dvb/si.h:742:5: warning: return discards qualifiers from pointer target type
Showing
Please register or sign in to comment