]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/index.c
clean up byte order detection
[nominatim.git] / nominatim / index.c
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)
     {