diff options
author | Sergey Yershov <yershov@corp.mail.ru> | 2015-04-23 14:04:40 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:46:21 +0300 |
commit | 9587ed74865154bbe7c7350ada3de61d6cd73c4c (patch) | |
tree | 96a709191a67884835f6553c3f48866233a28d71 /storage/country.cpp | |
parent | 98c8773487a1a5410c10c3e56e0cfbc586094aca (diff) |
Fix build warnings for Storage
Diffstat (limited to 'storage/country.cpp')
-rw-r--r-- | storage/country.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/country.cpp b/storage/country.cpp index 4dd8067bb0..822756df06 100644 --- a/storage/country.cpp +++ b/storage/country.cpp @@ -116,8 +116,9 @@ void LoadGroupImpl(int depth, json_t * group, ToDo & toDo) char const * flag = json_string_value(json_object_get(j, "c")); toDo(name, file, flag ? flag : "", - json_integer_value(json_object_get(j, "s")), - json_integer_value(json_object_get(j, "rs")), + // We expect what mwm and routing files should be less 2Gb + static_cast<uint32_t>(json_integer_value(json_object_get(j, "s"))), + static_cast<uint32_t>(json_integer_value(json_object_get(j, "rs"))), depth); json_t * children = json_object_get(j, "g"); |