diff --git a/src/db/plugins/upnp/ContentDirectoryService.cxx b/src/db/plugins/upnp/ContentDirectoryService.cxx index c7ef5f98b..d09d226dc 100644 --- a/src/db/plugins/upnp/ContentDirectoryService.cxx +++ b/src/db/plugins/upnp/ContentDirectoryService.cxx @@ -77,8 +77,8 @@ ContentDirectoryService::readDirSlice(UpnpClient_Handle hdl, {"BrowseFlag", "BrowseDirectChildren"}, {"Filter", "*"}, {"SortCriteria", ""}, - {"StartingIndex", fmt::format_int{offset}.c_str(), - {"RequestedCount", fmt::format_int{count).c_str()}, + {"StartingIndex", fmt::format_int{offset}.c_str()}, + {"RequestedCount", fmt::format_int{count}.c_str()}, }; std::vector> responseData; int errcode;