X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/5a07183e26b7ca151959629420a83f59af5339f3..fd5d6cdebfefde3785c583794885106c42ba705f:/src/compiler/dmd/cover.d?ds=sidebyside 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,