From 9fed28a24b77cdce4d0a754965589be9b6b827a4 Mon Sep 17 00:00:00 2001 From: Zeex Date: Sun, 18 Nov 2018 19:08:56 +0600 Subject: [PATCH] Fix char* -> unsigned char* conversion error --- source/compiler/sc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/compiler/sc1.c b/source/compiler/sc1.c index 9eb4625..9c11302 100644 --- a/source/compiler/sc1.c +++ b/source/compiler/sc1.c @@ -546,7 +546,7 @@ int pc_compile(int argc, char *argv[]) while (pc_readsrc(fsrc,tstring,sizeof tstring)!=NULL) { pc_writesrc(ftmp,tstring); } /* while */ - pc_writesrc(ftmp,"\n"); + pc_writesrc(ftmp,(unsigned char*)"\n"); pc_closesrc(fsrc); } /* for */ pc_closesrc(ftmp);