diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-04 04:31:34 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-04 04:31:34 -0400 |
commit | 9d4e888ef57ef70acb22830c5bfb5e917208113e (patch) | |
tree | b82484469989cfa6f546d1827dfd382b3de8dfe1 /src/stream.cc | |
parent | 2d63c9364af57c732003afc7adddeb8ce62a1988 (diff) | |
download | fork-ledger-9d4e888ef57ef70acb22830c5bfb5e917208113e.tar.gz fork-ledger-9d4e888ef57ef70acb22830c5bfb5e917208113e.tar.bz2 fork-ledger-9d4e888ef57ef70acb22830c5bfb5e917208113e.zip |
Cured several harmless compiler warnings
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()); |