Michael Stefaniuc : shlwapi: Remove superfluous cast to self.
Alexandre Julliard
julliard at winehq.org
Mon Sep 28 14:49:27 CDT 2020
Module: wine
Branch: master
Commit: 93da988df2a7fc7a772c3a2347fa6a46bfdca2c9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=93da988df2a7fc7a772c3a2347fa6a46bfdca2c9
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Mon Sep 28 21:28:07 2020 +0200
shlwapi: Remove superfluous cast to self.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shlwapi/string.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shlwapi/string.c b/dlls/shlwapi/string.c
index be178bba60..f4c6ca85d6 100644
--- a/dlls/shlwapi/string.c
+++ b/dlls/shlwapi/string.c
@@ -229,7 +229,7 @@ HRESULT WINAPI StrRetToBufA (LPSTRRET src, const ITEMIDLIST *pidl, LPSTR dest, U
break;
case STRRET_OFFSET:
- lstrcpynA((LPSTR)dest, ((LPCSTR)&pidl->mkid)+src->u.uOffset, len);
+ lstrcpynA(dest, ((LPCSTR)&pidl->mkid)+src->u.uOffset, len);
break;
default:
More information about the wine-cvs
mailing list