X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9240e83802b30c940ceec9ac51700b86b77b65e2..7e0fdf5928a0c726b22ad969267a3b9e0402c823:/nominatim/index.c diff --git a/nominatim/index.c b/nominatim/index.c index 9aa3fb86..c16aba9e 100644 --- a/nominatim/index.c +++ b/nominatim/index.c @@ -218,7 +218,7 @@ struct index_thread_data * thread_data, const char *structuredoutputfile) usleep(1000); // Aim for one update per second - if (sleepcount++ > 500) + if (sleepcount++ > 1000) { rankPerSecond = ((float)rankCountTuples + (float)count) / MAX(difftime(time(0), rankStartTime),1); if(interpolation) @@ -438,9 +438,9 @@ void *nominatim_indexThread(void * thread_data_in) uint64_t paramPlaceID; uint64_t place_id; time_t updateStartTime; - uint table; + unsigned table; - table = (uint)(thread_data->table); + table = thread_data->table; while (1) {