[vlc-commits] [Git][videolan/libvlcpp][master] Instance: Fix signed/unsigned mismatch
Hugo Beauzée-Luyssen
gitlab at videolan.org
Wed Aug 10 15:19:22 CEST 2016
Hugo Beauzée-Luyssen pushed to branch master at videolan / libvlcpp
Commits:
ac763111 by Hugo Beauzée-Luyssen at 2016-08-10T15:19:02+02:00
Instance: Fix signed/unsigned mismatch
- - - - -
1 changed file:
- vlcpp/Instance.hpp
Changes:
=====================================
vlcpp/Instance.hpp
=====================================
--- a/vlcpp/Instance.hpp
+++ b/vlcpp/Instance.hpp
@@ -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;
}
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/commit/ac7631117bdff7cb759102e3ecd962d2353da732
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-commits/attachments/20160810/cdca1c4b/attachment-0001.html>
More information about the vlc-commits
mailing list