X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/5a07183e26b7ca151959629420a83f59af5339f3..1f3a9af059166187064490d1cae80bd11fb8737c:/src/compiler/dmd/cover.d diff --git a/src/compiler/dmd/cover.d b/src/compiler/dmd/cover.d index fd33161..7d880e1 100644 --- a/src/compiler/dmd/cover.d +++ b/src/compiler/dmd/cover.d @@ -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,