diff options
| author | Adam Ierymenko <[email protected]> | 2017-03-17 20:01:58 -0700 |
|---|---|---|
| committer | Adam Ierymenko <[email protected]> | 2017-03-17 20:01:58 -0700 |
| commit | 78ef2c5f16524684b4682ac2ef614abe1ed62dd7 (patch) | |
| tree | 274fc13f79fa618018d561bc78a955af69fac23f /service/SoftwareUpdater.cpp | |
| parent | ec8e1178e5cfbe9cd790928dd06562af734a2d48 (diff) | |
Windows build fixes, app about text revisions.
Diffstat (limited to 'service/SoftwareUpdater.cpp')
| -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)&& |
