Commit ac763111 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Instance: Fix signed/unsigned mismatch

parent 0e18b73b
......@@ -530,7 +530,7 @@ public:
std::unique_ptr<libvlc_media_discoverer_description_t*, decltype(releaser)> descPtr( pp_descs, releaser );
std::vector<MediaDiscoverer::Description> res;
res.reserve( nbSd );
for ( auto i = 0u; i < nbSd; ++i )
for ( auto i = 0; i < nbSd; ++i )
res.emplace_back( pp_descs[i]->psz_name, pp_descs[i]->psz_longname, pp_descs[i]->i_cat );
return res;
}
......
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