]> git.llucax.com Git - software/druntime.git/blobdiff - src/compiler/dmd/cover.d
Fixed a few mistakes regarding invariance, etc, between D1 and D2.
[software/druntime.git] / src / compiler / dmd / cover.d
index fd331615aeebb4ac2eea80411849728da2e7867b..7d880e1c059efabb474545bc209196a8bfef1b7f 100644 (file)
@@ -222,7 +222,7 @@ bool readFile( char[] name, inout char[] buf )
 {
     version( Windows )
     {
-        wchar*  wnamez  = toUTF16z( name );
+        auto    wnamez  = toUTF16z( name );
         HANDLE  file    = CreateFileW( wnamez,
                                        GENERIC_READ,
                                        FILE_SHARE_READ,