Resolve compiler warning (admap_entries should be unsigned int)
libdvdnav | branch: master | gnosygnu <gnosygnu@gmail.com> | Thu Aug 14 23:01:42 2014 -0400| [7c10f2243c136eb7dfd67e35329b02331726de43] | committer: gnosygnu Resolve compiler warning (admap_entries should be unsigned int)
http://git.videolan.org/gitweb.cgi/libdvdnav.git/?a=commit;h=7c10f2243c136eb...
src/searching.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/searching.c b/src/searching.c index 1fd3807..f6e497e 100644 --- a/src/searching.c +++ b/src/searching.c @@ -74,7 +74,7 @@ static dvdnav_status_t dvdnav_scan_admap(dvdnav_t *this, int32_t domain, uint32_ if(admap) { uint32_t address = 0; uint32_t vobu_start, next_vobu = 0; - int admap_entries = (admap->last_byte + 1 - VOBU_ADMAP_SIZE)/VOBU_ADMAP_SIZE; + uint32_t admap_entries = (admap->last_byte + 1 - VOBU_ADMAP_SIZE)/VOBU_ADMAP_SIZE; /* Search through ADMAP for best sector */ vobu_start = SRI_END_OF_CELL;
participants (1)
-
git@videolan.org