summaryrefslogtreecommitdiff
path: root/src/pyinterp.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-25 21:27:56 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-25 21:27:56 -0400
commit9dadaebfeb461ba795124281018d0f7eac200cf4 (patch)
tree941243868b1dcacd68cbd52a2f96e40bf70a5d3b /src/pyinterp.cc
parentf35bc939c96c3a3bf09c5881d638b5ba60449c03 (diff)
parente696bfd913a10edd19f9e35eb1aee2c97b11e7f6 (diff)
downloadledger-9dadaebfeb461ba795124281018d0f7eac200cf4.tar.gz
ledger-9dadaebfeb461ba795124281018d0f7eac200cf4.tar.bz2
ledger-9dadaebfeb461ba795124281018d0f7eac200cf4.zip
Merge branch 'next'
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r--src/pyinterp.cc2
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];