From fb4703fddb26291afcc3765a92814885ee9102c9 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 14 Nov 2006 10:09:31 +0000 Subject: Fixing that very old project files so that they compile again. --- src/Main.cc | 2 ++ src/paq.cc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Main.cc b/src/Main.cc index ecec54e..62e9536 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -162,6 +162,8 @@ Action * buildmenu(void) { } int startup() throw (GeneralException) { + verbosity = M_INFO; + int c; String port = "1500"; diff --git a/src/paq.cc b/src/paq.cc index bbb78da..3a46303 100644 --- a/src/paq.cc +++ b/src/paq.cc @@ -134,10 +134,10 @@ void process_directory(const String & dirname) throw (GeneralException) { process_file(dirname + "/" + namelist[i]->d_name); } } - free((void *)namelist[i]); + free(namelist[i]); } - free((void *)namelist); + free(namelist); t = 0; Archive->writeU8(t); -- cgit v1.2.3