--- trunk/src/osm.c 2009/03/31 10:19:50 155 +++ trunk/src/osm.c 2009/04/01 12:47:35 156 @@ -1208,9 +1208,9 @@ snprintf(str, sizeof(str), "%u", (unsigned)node->id); xmlNewProp(node_node, BAD_CAST "id", BAD_CAST str); } - g_ascii_dtostr(str, sizeof(str), node->pos.lat); + g_ascii_formatd(str, sizeof(str), LL_FORMAT, node->pos.lat); xmlNewProp(node_node, BAD_CAST "lat", BAD_CAST str); - g_ascii_dtostr(str, sizeof(str), node->pos.lon); + g_ascii_formatd(str, sizeof(str), LL_FORMAT, node->pos.lon); xmlNewProp(node_node, BAD_CAST "lon", BAD_CAST str); osm_generate_tags(node->tag, node_node); }