diff options
Diffstat (limited to 'service')
| -rw-r--r-- | service/SoftwareUpdater.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/SoftwareUpdater.cpp b/service/SoftwareUpdater.cpp index 2afbc776..7ecd42b1 100644 --- a/service/SoftwareUpdater.cpp +++ b/service/SoftwareUpdater.cpp @@ -148,9 +148,9 @@ void SoftwareUpdater::handleSoftwareUpdateUserMessage(uint64_t origin,const void std::vector<unsigned int> dvArch; if (dvArch2.is_array()) { for(unsigned long i=0;i<dvArch2.size();++i) - dvArch.push_back(OSUtils::jsonInt(dvArch2[i],0)); + dvArch.push_back((unsigned int)OSUtils::jsonInt(dvArch2[i],0)); } else { - dvArch.push_back(OSUtils::jsonInt(dvArch2,0)); + dvArch.push_back((unsigned int)OSUtils::jsonInt(dvArch2,0)); } if ((OSUtils::jsonInt(d->second.meta[ZT_SOFTWARE_UPDATE_JSON_PLATFORM],0) == rvPlatform)&& |
