|
|
da5de06 |
From 8194f06ee36b2ee15de82ac3984b6394cb20ba3d Mon Sep 17 00:00:00 2001
|
|
|
da5de06 |
From: Thomas Sailer <t.sailer@alumni.ethz.ch>
|
|
|
da5de06 |
Date: Fri, 1 May 2020 13:48:48 +0200
|
|
|
da5de06 |
Subject: ia32 compile fix
|
|
|
da5de06 |
|
|
|
da5de06 |
|
|
|
da5de06 |
diff --git a/carto/cartorenderdb.cc b/carto/cartorenderdb.cc
|
|
|
da5de06 |
index d10fb8b8..7284ee8f 100644
|
|
|
da5de06 |
--- a/carto/cartorenderdb.cc
|
|
|
da5de06 |
+++ b/carto/cartorenderdb.cc
|
|
|
da5de06 |
@@ -3933,7 +3933,7 @@ CartoRender::renderobjs_t CartoRender::dbquery_placenamesmedium(void) const
|
|
|
da5de06 |
continue;
|
|
|
da5de06 |
tagname_t val_population(pobj->find_tag(key_population));
|
|
|
da5de06 |
ro->copy_field_string(*odb, "name", val_name);
|
|
|
da5de06 |
- long score(1);
|
|
|
da5de06 |
+ int64_t score(1);
|
|
|
da5de06 |
if (val_place == name_town)
|
|
|
da5de06 |
score = 1000;
|
|
|
da5de06 |
else if (val_place == name_city)
|