nestegg: packet_track: fix uint64->uint32 warning

Change-Id: I67b2b0d722424df9938d7c26f9d3478592bc813a
This commit is contained in:
James Zern 2014-02-28 19:58:44 -08:00
parent eb27992d15
commit 086dc8097d
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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;
}