Patrick Brosi 4 years ago
parent
commit
7396bf9303
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/osmfixer/FixerMain.cpp

+ 1 - 1
src/osmfixer/FixerMain.cpp

@@ -28,7 +28,7 @@ int main(int argc, char** argv) {
28
 
28
 
29
   std::vector<StatIdx> idx(argc);
29
   std::vector<StatIdx> idx(argc);
30
   for(int i = 1; i < argc; i++) {
30
   for(int i = 1; i < argc; i++) {
31
-    idx[i].readFromFile(argv[i]);
31
+    idx[i-1].readFromFile(argv[i]);
32
   }
32
   }
33
 
33
 
34
   LOG(INFO) << "Starting server...";
34
   LOG(INFO) << "Starting server...";