From 05963f04a15daec80c47ded5eb69ce94795f8168 Mon Sep 17 00:00:00 2001 From: Johan Engelen Date: Sun, 10 Apr 2016 22:38:48 +0200 Subject: [PATCH] Fix type of char parameters for Windows call. (already fixed upstream) --- ddmd/root/filename.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddmd/root/filename.d b/ddmd/root/filename.d index b473bfc6e9..7cab274397 100644 --- a/ddmd/root/filename.d +++ b/ddmd/root/filename.d @@ -15,7 +15,7 @@ version (Windows) extern (C) int mkdir(const char*); version (Windows) alias _mkdir = mkdir; version (Posix) extern (C) char* canonicalize_file_name(const char*); version (Windows) extern (C) int stricmp(const char*, const char*); -version (Windows) extern (Windows) DWORD GetFullPathNameA(LPCTSTR lpFileName, DWORD nBufferLength, LPTSTR lpBuffer, LPTSTR* lpFilePart); +version (Windows) extern (Windows) DWORD GetFullPathNameA(LPCSTR lpFileName, DWORD nBufferLength, LPSTR lpBuffer, LPSTR* lpFilePart); alias Strings = Array!(const(char)*); alias Files = Array!(File*);