X-Git-Url: https://git.dlugolecki.net.pl/?p=vlp.git;a=blobdiff_plain;f=preproc%2Fprep.cpp;h=440576841782f67938db12fc31ddf31898070bc2;hp=c362103312668754e25d3a7a90bb87bbd1d32748;hb=e702805740237c3ce3bc4c5de9466d3f0d630595;hpb=9db87b545def5d31a64608f2eb082d915ad5efa4 diff --git a/preproc/prep.cpp b/preproc/prep.cpp index c362103..4405768 100644 --- a/preproc/prep.cpp +++ b/preproc/prep.cpp @@ -124,7 +124,7 @@ int main(int argc,char **argv) { IncFile *p; poms1=poms.mid(i+1,j-i-1); - p=new IncFile(poms1.data(),currentline); + p=new IncFile((char*)poms1.ascii(),currentline); poms2.sprintf("%s%s",homedir,poms1.data()); QFile pomf(poms2.data()); if (!pomf.open(IO_ReadOnly))