From 2aff35215fbe24459aa4057d5b31ea7490046ca6 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 30 Jul 2008 05:12:46 -0400 Subject: Enabled a huge number of warning flags for g++ in acprep, and fixed them all except for several unused parameter warnings (because there is so much code still #if 0'd out), and one implicit conversion from long long to long which still has to be dealt with. --- main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cc') diff --git a/main.cc b/main.cc index 6dfe4004..a891d8fe 100644 --- a/main.cc +++ b/main.cc @@ -152,7 +152,7 @@ static int read_and_report(ledger::report_t& report, int argc, char * argv[], // rightmost '/' character in the pager pathname. See manpage // for strrchr. execlp(report.pager->native_file_string().c_str(), - basename(*report.pager).c_str(), (char *)0); + basename(*report.pager).c_str(), NULL); perror("execl"); exit(1); } -- cgit v1.2.3