diff --git a/dlls/advpack/files.c b/dlls/advpack/files.c index 0e3637e3223..1d024438591 100644 --- a/dlls/advpack/files.c +++ b/dlls/advpack/files.c @@ -548,8 +548,8 @@ static HRESULT (WINAPI *pExtract)(EXTRACTdest*, LPCSTR); static LPSTR convert_file_list(LPCSTR FileList, DWORD *dwNumFiles) { DWORD dwLen; - char *first = (char *)FileList; - char *last = (char *)FileList + strlen(FileList) - 1; + const char *first = FileList; + const char *last = FileList + strlen(FileList) - 1; LPSTR szConvertedList, temp; /* any number of these chars before the list is OK */