diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-15 13:46:26 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-15 13:46:26 +0200 |
commit | 7a9735476485dc81233194eeef4079a8813b58ce (patch) | |
tree | 2fae1a4d582b39cfa9a7662b921a255e48fb8bd4 | |
parent | 606cb0dce429eb6c8603c984c8094774f78ee058 (diff) | |
download | xine-lib-7a9735476485dc81233194eeef4079a8813b58ce.tar.gz xine-lib-7a9735476485dc81233194eeef4079a8813b58ce.tar.bz2 |
The offset variable is only used with strlen value, set it to size_t then.
-rw-r--r-- | src/input/input_dvb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index cae6d6935..9ff40f7ea 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -2802,7 +2802,7 @@ static int dvb_plugin_open(input_plugin_t * this_gen) * by numbers... */ int chanlen = strlen(channame); - int offset = 0; + size_t offset = 0; xprintf(this->class->xine, XINE_VERBOSITY_LOG, _("input_dvb: exact match for %s not found: trying partial matches\n"), channame); @@ -2819,7 +2819,7 @@ static int dvb_plugin_open(input_plugin_t * this_gen) idx++; } offset++; - xprintf(this->class->xine,XINE_VERBOSITY_LOG,"%d,%d,%d\n", offset, idx, num_channels); + xprintf(this->class->xine,XINE_VERBOSITY_LOG,"%zd,%d,%d\n", offset, idx, num_channels); } while ((offset < 6) && (idx == num_channels)); if (idx < num_channels) { |