Switch param type to LPCTSTR

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6123 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2010-09-24 18:43:04 +00:00
parent 22e730301c
commit b93d008d64
2 changed files with 2 additions and 2 deletions

View file

@ -410,7 +410,7 @@ void NSISCALL mini_memcpy(void *out, const void *in, int len)
}
}
DWORD NSISCALL remove_ro_attr(TCHAR *file)
DWORD NSISCALL remove_ro_attr(LPCTSTR file)
{
const DWORD attr = GetFileAttributes(file);
if (attr != INVALID_FILE_ATTRIBUTES)

View file

@ -107,7 +107,7 @@ void NSISCALL validate_filename(TCHAR *fn);
void NSISCALL MoveFileOnReboot(LPCTSTR pszExisting, LPCTSTR pszNew);
void NSISCALL mini_memcpy(void *out, const void *in, int len);
DWORD NSISCALL remove_ro_attr(TCHAR *file);
DWORD NSISCALL remove_ro_attr(LPCTSTR file);
enum myGetProcAddressFunctions {
MGA_GetDiskFreeSpaceEx,