]> granicus.if.org Git - libvpx/commit
nestegg: fix track_number uint64->uint32 warnings
authorJames Zern <jzern@google.com>
Sat, 1 Mar 2014 03:58:19 +0000 (19:58 -0800)
committerJames Zern <jzern@google.com>
Sat, 1 Mar 2014 03:58:19 +0000 (19:58 -0800)
commitba159a3b0a80ff97e17ad946da4b7fef4a7cfe5a
tree75204ff7d4066188612ba415ec8b8ce11a6fa4ed
parentd743bd04d5c9261244bbe2838dc8014d770b621d
nestegg: fix track_number uint64->uint32 warnings

ne_read_block/ne_find_cue_position_for_track/nestegg_get_cue_point
in the use of ne_map_track_number_to_index
+ add a check to ensure it doesn't exceed the type bounds

fixes:
./third_party/nestegg/src/nestegg.c|1322| warning C4244: 'function' :
conversion from 'uint64_t' to 'unsigned int', possible loss of data

Change-Id: I3703d739dcf9a2d4d8e2b704e957e5e3fd80dca0
third_party/nestegg/README.webm
third_party/nestegg/src/nestegg.c