aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ptoc/files/patch-main.cxx
blob: 286972f63535c2b26f5e7c1d44db0b33c4b391cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- main.cxx.orig	2002-10-24 15:38:50 UTC
+++ main.cxx
@@ -345,8 +345,8 @@ int main(int argc, char* argv[]) 
     compile_system_library = TRUE;
 #ifdef PREFIX
     token::input(turbo_pascal 
-		 ? PREFIX "/share/ptoc/tptoc.pas" 
-		 : PREFIX "/share/ptoc/ptoc.pas")); 
+		 ? (char *) PREFIX "/share/ptoc/tptoc.pas" 
+		 : (char *) PREFIX "/share/ptoc/ptoc.pas"); 
 #else
     token::input(dprintf("%s%s", prog_path, 
  			 turbo_pascal ? "tptoc.pas" : "ptoc.pas"));