]> git.llucax.com Git - software/druntime.git/blobdiff - src/compiler/dmd/trace.d
cover.d does not produce output
[software/druntime.git] / src / compiler / dmd / trace.d
index 0947d573048613a189b52f9ba41df3681284e4db..55fb5b9a59214914d2f5a66e6cd8fa1d5bccc524 100644 (file)
@@ -16,10 +16,10 @@ module rt.trace;
 private
 {
     import util.string;
 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):
 }
 
 extern (C):
@@ -661,7 +661,7 @@ static char* trace_readline(FILE* fp)
             default:
                 break;
         }
             default:
                 break;
         }
-        buf[i] = c;
+        buf[i] = cast(char)c;
         i++;
     }
 L1:
         i++;
     }
 L1: