X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/1f3a9af059166187064490d1cae80bd11fb8737c..ee7c028ebdd89ffc05410551c6e4812187049279:/src/compiler/dmd/trace.d?ds=inline diff --git a/src/compiler/dmd/trace.d b/src/compiler/dmd/trace.d index 0947d57..55fb5b9 100644 --- a/src/compiler/dmd/trace.d +++ b/src/compiler/dmd/trace.d @@ -16,10 +16,10 @@ module rt.trace; private { import util.string; - import stdc.ctype; - import stdc.stdio; - import stdc.string; - import stdc.stdlib; + import core.stdc.ctype; + import core.stdc.stdio; + import core.stdc.string; + import core.stdc.stdlib; } extern (C): @@ -661,7 +661,7 @@ static char* trace_readline(FILE* fp) default: break; } - buf[i] = c; + buf[i] = cast(char)c; i++; } L1: