[raop] Fix missing uint64 cast, which since commit fdd85cc was giving too short song lengths

This commit is contained in:
ejurgensen 2017-01-23 23:41:10 +01:00
parent 297de6d86c
commit 084de7811e

View File

@ -899,7 +899,7 @@ raop_metadata_prepare(int id)
/* Progress - raop_metadata_send() will add rtptime to these */
rmd->start = 0;
rmd->end = (queue_item->song_length * 44100UL) / 1000UL;
rmd->end = ((uint64_t)queue_item->song_length * 44100UL) / 1000UL;
free_queue_item(queue_item, 0);