Maarten Lankhorst : shell32: Fix pointer truncation in SHGetFileInfoA.

Alexandre Julliard julliard at winehq.org
Mon Nov 29 13:38:34 CST 2010


Module: wine
Branch: master
Commit: e7a6b87c2d8b480632e88f8b761c1b9c5e55f483
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e7a6b87c2d8b480632e88f8b761c1b9c5e55f483

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Fri Nov 26 20:21:37 2010 +0100

shell32: Fix pointer truncation in SHGetFileInfoA.

---

 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)




More information about the wine-cvs mailing list