diff --git a/dlls/shell32/shellole.c b/dlls/shell32/shellole.c index 5158053f7af..2704ca45644 100644 --- a/dlls/shell32/shellole.c +++ b/dlls/shell32/shellole.c @@ -627,7 +627,7 @@ UINT WINAPI DragQueryFileW( if(!lpDropFileStruct) goto end; - lpwDrop = (LPWSTR) lpDropFileStruct + lpDropFileStruct->pFiles; + lpwDrop = (LPWSTR) ((LPSTR)lpDropFileStruct + lpDropFileStruct->pFiles); i = 0; while (i++ < lFile)