From 295798877c0aefd1ccad098555dc07820c7698d8 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Mon, 11 Jun 2012 00:01:15 +0200 Subject: [PATCH] Avoid NULL/0 conversion warning. --- driver/ldmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/ldmd.cpp b/driver/ldmd.cpp index 13242e0e..567982b9 100644 --- a/driver/ldmd.cpp +++ b/driver/ldmd.cpp @@ -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());