From 086dc8097db2b5d00e020f69b0de216cb2c5f659 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 28 Feb 2014 19:58:44 -0800 Subject: [PATCH] nestegg: packet_track: fix uint64->uint32 warning Change-Id: I67b2b0d722424df9938d7c26f9d3478592bc813a --- third_party/nestegg/README.webm | 1 + third_party/nestegg/src/nestegg.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/third_party/nestegg/README.webm b/third_party/nestegg/README.webm index 4409150..7860a7c 100644 --- a/third_party/nestegg/README.webm +++ b/third_party/nestegg/README.webm @@ -17,3 +17,4 @@ nestegg.c|975 col 6| warning: ‘r’ may be used uninitialized in this function - 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 diff --git a/third_party/nestegg/src/nestegg.c b/third_party/nestegg/src/nestegg.c index e9a0b8a..35ce9f1 100644 --- a/third_party/nestegg/src/nestegg.c +++ b/third_party/nestegg/src/nestegg.c @@ -2236,7 +2236,7 @@ nestegg_free_packet(nestegg_packet * pkt) int nestegg_packet_track(nestegg_packet * pkt, unsigned int * track) { - *track = pkt->track; + *track = (unsigned int)pkt->track; return 0; } -- 2.7.4