From: Sarah Hoffmann Date: Wed, 10 Jan 2018 22:27:49 +0000 (+0100) Subject: replace non-standard uint type with unsigned X-Git-Tag: v3.1.0~4 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/8f23ba076bfedc2dc581789fc2fdc266932dc100 replace non-standard uint type with unsigned See #879. --- diff --git a/nominatim/index.c b/nominatim/index.c index ab87bdca..c16aba9e 100644 --- a/nominatim/index.c +++ b/nominatim/index.c @@ -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) { diff --git a/nominatim/index.h b/nominatim/index.h index 46c8bb8a..e5759541 100644 --- a/nominatim/index.h +++ b/nominatim/index.h @@ -14,7 +14,7 @@ struct index_thread_data pthread_mutex_t * count_mutex; xmlTextWriterPtr writer; pthread_mutex_t * writer_mutex; - uint table; + unsigned table; }; void nominatim_index(int rank_min, int rank_max, int num_threads, const char *conninfo, const char *structuredoutputfile); void *nominatim_indexThread(void * thread_data_in);