summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-13 19:21:48 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-13 19:21:48 +0100
commit98dfe82c2653661c254ebc5abfec6b0ba695c427 (patch)
tree7796101d87876cbee12e1457c17161339b8985d1 /src
parent02a0b5145f86b74717c76e195665fcb6ba1d7f73 (diff)
downloadxine-lib-98dfe82c2653661c254ebc5abfec6b0ba695c427.tar.gz
xine-lib-98dfe82c2653661c254ebc5abfec6b0ba695c427.tar.bz2
Make sure that the sign of local variables and parameters of local functions are the same.
Diffstat (limited to 'src')
-rw-r--r--src/input/input_dvb.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c
index a998d274b..8dd7b2a33 100644
--- a/src/input/input_dvb.c
+++ b/src/input/input_dvb.c
@@ -432,7 +432,7 @@ static const Param transmissionmode_list [] = {
};
-time_t dvb_mjdtime (char *buf);
+time_t dvb_mjdtime (uint8_t *buf);
static void load_epg_data(dvb_input_plugin_t *this);
static void show_eit(dvb_input_plugin_t *this);
@@ -491,7 +491,7 @@ static int find_descriptor(uint8_t tag, const unsigned char *buf, int descriptor
/* Extract UTC time and date encoded in modified julian date format and return it as a time_t.
*/
-time_t dvb_mjdtime (char *buf)
+time_t dvb_mjdtime (uint8_t *buf)
{
int i;
unsigned int year, month, day, hour, min, sec;
@@ -1203,8 +1203,8 @@ static void parse_pmt(dvb_input_plugin_t *this, const unsigned char *buf, int se
static void dvb_parse_si(dvb_input_plugin_t *this) {
- char *tmpbuffer;
- char *bufptr;
+ uint8_t *tmpbuffer;
+ uint8_t *bufptr;
int service_id;
int result;
int section_len;
@@ -1403,8 +1403,8 @@ static void load_epg_data(dvb_input_plugin_t *this)
int section_len = 0;
unsigned int service_id=-1;
int n;
- char *eit = NULL;
- char *foo = NULL;
+ uint8_t *eit = NULL;
+ uint8_t *foo = NULL;
char *seen_channels = NULL;
int text_len;
struct pollfd fd;
@@ -2476,7 +2476,7 @@ static void ts_rewrite_packets (dvb_input_plugin_t *this, unsigned char * origin
static off_t dvb_plugin_read (input_plugin_t *this_gen,
void *buf_gen, off_t len) {
dvb_input_plugin_t *this = (dvb_input_plugin_t *) this_gen;
- char *buf = (char *)buf_gen;
+ uint8_t *buf = buf_gen;
off_t n=0, total=0;
int have_mutex=0;