replace non-standard uint type with unsigned

See #879.
This commit is contained in:
Sarah Hoffmann 2018-01-10 23:27:49 +01:00
parent 2cf1ff41c0
commit 8f23ba076b
2 changed files with 3 additions and 3 deletions

View File

@ -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)
{

View File

@ -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);