diff options
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r-- | src/pyinterp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyinterp.cc b/src/pyinterp.cc index a163175f..f5b1a543 100644 --- a/src/pyinterp.cc +++ b/src/pyinterp.cc @@ -266,7 +266,7 @@ value_t python_interpreter_t::python_command(call_scope_t& args) std::strcpy(argv[i + 1], arg.c_str()); } - int status = Py_Main(args.size() + 1, argv); + int status = Py_Main(static_cast<int>(args.size()) + 1, argv); for (std::size_t i = 0; i < args.size() + 1; i++) delete[] argv[i]; |