diff options
Diffstat (limited to 'src/stream.cc')
-rw-r--r-- | src/stream.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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()); |