From 9d4e888ef57ef70acb22830c5bfb5e917208113e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 4 Mar 2009 04:31:34 -0400 Subject: Cured several harmless compiler warnings --- src/stream.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/stream.cc') diff --git a/src/stream.cc b/src/stream.cc index 5c109831..18f730a2 100644 --- a/src/stream.cc +++ b/src/stream.cc @@ -90,8 +90,7 @@ namespace { #else path basename(pager_path.leaf()); #endif - execlp(pager_path.string().c_str(), basename.string().c_str(), - (char *)0); + execlp(pager_path.string().c_str(), basename.string().c_str(), NULL); // We should never, ever reach here perror((std::string("execlp: ") + pager_path.string()).c_str()); -- cgit v1.2.3