summaryrefslogtreecommitdiff
path: root/src/pyinterp.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-06-17 14:03:07 -0700
committerJohn Wiegley <johnw@newartisans.com>2013-06-17 14:03:07 -0700
commit90a1e13a3f3cb371bbea9c5ff3ed41031892dfac (patch)
tree9bec008355d592494bd9bf4274e56b48f76cc68a /src/pyinterp.cc
parentfe810fa13f1e814e69dee2484c8b2878d5101d6c (diff)
parent4bcaa45f1663ca4ce3399ae412642624050c5060 (diff)
downloadfork-ledger-90a1e13a3f3cb371bbea9c5ff3ed41031892dfac.tar.gz
fork-ledger-90a1e13a3f3cb371bbea9c5ff3ed41031892dfac.tar.bz2
fork-ledger-90a1e13a3f3cb371bbea9c5ff3ed41031892dfac.zip
Merge pull request #195 from code-affinity/msvc-11.0
Minor source code changes required to compile with Microsoft Visual C++ 11 (2012)
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 3354d3e9..e15ff503 100644
--- a/src/pyinterp.cc
+++ b/src/pyinterp.cc
@@ -320,7 +320,7 @@ value_t python_interpreter_t::python_command(call_scope_t& args)
if (! is_initialized)
initialize();
- char ** argv(new char *[args.size() + 1]);
+ char ** argv = new char *[args.size() + 1];
argv[0] = new char[std::strlen(argv0) + 1];
std::strcpy(argv[0], argv0);