]> git.openstreetmap.org Git - nominatim.git/commitdiff
replace non-standard uint type with unsigned
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 10 Jan 2018 22:27:49 +0000 (23:27 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 10 Jan 2018 22:27:49 +0000 (23:27 +0100)
See #879.

nominatim/index.c
nominatim/index.h

index ab87bdca32272d0aaf9ffbdc290c16a13e5c056d..c16aba9e230309cfc9659f5838fbd6b05d555ccd 100644 (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)
     {
index 46c8bb8a2178f260302ac07d8e9799443a6f50f6..e57595410ae28cfa5058dce027e7bdd5c6b71db4 100644 (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);