[PATCH] shell32: Fix pointer truncation in SHGetFileInfoA

Maarten Lankhorst m.b.lankhorst at gmail.com
Fri Nov 26 13:21:37 CST 2010


---
 dlls/shell32/shell32_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c
index 227b63e..af0cb4b 100644
--- a/dlls/shell32/shell32_main.c
+++ b/dlls/shell32/shell32_main.c
@@ -675,7 +675,7 @@ DWORD_PTR WINAPI SHGetFileInfoA(LPCSTR path,DWORD dwFileAttributes,
     INT len;
     LPWSTR temppath = NULL;
     LPCWSTR pathW;
-    DWORD ret;
+    DWORD_PTR ret;
     SHFILEINFOW temppsfi;
 
     if (flags & SHGFI_PIDL)
-- 
1.7.1




More information about the wine-patches mailing list