From c2ecab2e6b1ed26916a8954f703de0828bd6f777 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 22 Sep 2020 14:36:09 +0200 Subject: [PATCH] Fix mac compile --- lib/stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stream.cpp b/lib/stream.cpp index 001128e2..6bbf01da 100644 --- a/lib/stream.cpp +++ b/lib/stream.cpp @@ -694,7 +694,7 @@ std::set Util::findTracks(const DTSC::Meta &M, const JSON::Value &capa, } { size_t trackNo = JSON::Value(trackVal).asInt(); - if (trackVal == JSON::Value(trackNo).asString()){ + if (trackVal == JSON::Value((uint64_t)trackNo).asString()){ //It's an integer number if (!M.tracks.count(trackNo)){ INFO_MSG("Track %zd does not exist in stream, cannot select", trackNo);