summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-04 04:31:34 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-04 04:31:34 -0400
commit9d4e888ef57ef70acb22830c5bfb5e917208113e (patch)
treeb82484469989cfa6f546d1827dfd382b3de8dfe1 /src/global.cc
parent2d63c9364af57c732003afc7adddeb8ce62a1988 (diff)
downloadfork-ledger-9d4e888ef57ef70acb22830c5bfb5e917208113e.tar.gz
fork-ledger-9d4e888ef57ef70acb22830c5bfb5e917208113e.tar.bz2
fork-ledger-9d4e888ef57ef70acb22830c5bfb5e917208113e.zip
Cured several harmless compiler warnings
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.cc b/src/global.cc
index dc21012c..51760436 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -477,7 +477,7 @@ void global_scope_t::visit_man_page() const
throw std::logic_error(_("Failed to fork child process"));
}
else if (pid == 0) { // child
- execlp("man", "man", "1", "ledger", (char *)0);
+ execlp("man", "man", "1", "ledger", NULL);
// We should never, ever reach here
perror("execlp: man");