aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 30002a8..6db9cd5 100644
--- a/main.cpp
+++ b/main.cpp
@@ -232,7 +232,7 @@ int main(int argc,char **argv){
assert(f);
teams.push_back(assemble(preprocess(f)));
if(opt_pos) {
- positions.push_back({strtol(argv[i+1],NULL,10), strtol(argv[i+2],NULL,10)}); // TODO: check if i>argc
+ positions.push_back({(int)strtol(argv[i+1],NULL,10), (int)strtol(argv[i+2],NULL,10)}); // TODO: check if i>argc
i += 2;
}
}