advpack: Cast-qual warnings fix.

This commit is contained in:
Andrew Talbot 2006-09-07 22:25:14 +01:00 committed by Alexandre Julliard
parent 98aeac78fc
commit 570aad50d2
1 changed files with 2 additions and 2 deletions

View File

@ -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 */