https://bugs.winehq.org/show_bug.cgi?id=43333
Bug ID: 43333 Summary: shell32: Warning and notes while building (GCC 7.1.1) Product: Wine Version: 2.12 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
In file included from ../../include/windef.h:266:0, from shfldr_fs.c:35: shfldr_fs.c: In function ‘ISFHelper_fnCopyItems’: ../../include/winnt.h:5438:44: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] #define RtlZeroMemory(Destination, Length) memset((Destination),0,(Length)) ^ ../../include/winbase.h:2790:24: note: in expansion of macro ‘RtlZeroMemory’ #define ZeroMemory RtlZeroMemory ^~~~~~~~~~~~~ shfldr_fs.c:1318:13: note: in expansion of macro ‘ZeroMemory’ ZeroMemory(wszDstPath, MAX_PATH+1);
wine-2.12-103-g989a9dc917