ref: 086dc8097db2b5d00e020f69b0de216cb2c5f659
parent: eb27992d1570c843b358502b9c4250ab50477a58
author: James Zern <[email protected]>
date: Fri Feb 28 14:58:44 EST 2014
nestegg: packet_track: fix uint64->uint32 warning Change-Id: I67b2b0d722424df9938d7c26f9d3478592bc813a
--- a/third_party/nestegg/README.webm
+++ b/third_party/nestegg/README.webm
@@ -17,3 +17,4 @@
- add ne_get_uint32 convenience function
- fix track_number uint64->uint32 warnings
- fix track_scale double->uint64 warning
+- nestegg_packet_track: fix uint64->uint32 warning
--- a/third_party/nestegg/src/nestegg.c
+++ b/third_party/nestegg/src/nestegg.c
@@ -2236,7 +2236,7 @@
int
nestegg_packet_track(nestegg_packet * pkt, unsigned int * track)
{
- *track = pkt->track;
+ *track = (unsigned int)pkt->track;
return 0;
}