Skip to content
Snippets Groups Projects
Commit 22fa1857 authored by Lyndon Brown's avatar Lyndon Brown
Browse files

mtp: use unsigned count/index

parent bfd7803f
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ typedef struct
{
uint64_t i_tracks_num;
input_item_t **pp_items;
int i_count;
unsigned i_count;
char *psz_name;
uint32_t i_bus;
uint8_t i_dev;
......@@ -276,7 +276,7 @@ static void CloseDevice( services_discovery_t *p_sd )
if( pp_items != NULL )
{
for( int i_i = 0; i_i < p_sys->i_count; i_i++ )
for( unsigned i_i = 0; i_i < p_sys->i_count; i_i++ )
{
if( pp_items[i_i] != NULL )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment