Avoid NULL/0 conversion warning.

This commit is contained in:
David Nadlinger
2012-06-11 00:01:15 +02:00
parent 53018c76f8
commit 295798877c

View File

@@ -114,7 +114,7 @@ int execute(ls::Path exePath, const char** args)
{
std::string errorMsg;
int rc = ls::Program::ExecuteAndWait(exePath, args, NULL, NULL,
NULL, NULL, &errorMsg);
0, 0, &errorMsg);
if (!errorMsg.empty())
{
error("Could not execute %s: %s", exePath.c_str(), errorMsg.c_str());