Commit 332f390d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

dvb scan: use unsigned indices (CID#1048723)

parent 1c4635c2
......@@ -88,7 +88,7 @@ struct scan_t
{
vlc_object_t *p_obj;
struct dialog_progress_bar_t *p_dialog;
int64_t i_index;
uint64_t i_index;
scan_parameter_t parameter;
int64_t i_time_start;
......@@ -235,7 +235,7 @@ static int ScanDvbSNextFast( scan_t *p_scan, scan_configuration_t *p_cfg, double
{
msg_Dbg( p_scan->p_obj, "Scan index %"PRId64, p_scan->i_index );
int *pi_count = &p_scan->parameter.sat_info.i_count;
unsigned *pi_count = &p_scan->parameter.sat_info.i_count;
if( !p_scan->parameter.sat_info.psz_name )
{
......
......@@ -54,7 +54,7 @@ typedef struct scan_parameter_t
int i_max;
int i_step;
int i_count; /* Number of frequency test to do */
unsigned i_count; /* Number of frequency test to do */
} frequency;
struct
......@@ -64,7 +64,7 @@ typedef struct scan_parameter_t
int i_max;
int i_step;
int i_count;
unsigned i_count;
} bandwidth;
struct
......@@ -73,7 +73,7 @@ typedef struct scan_parameter_t
char *psz_path; /* config file path */
scan_dvbs_transponder_t *p_transponders;
int i_count;
unsigned i_count;
} sat_info;
} scan_parameter_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment