[Bug 38337] clang compiling warnings

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Feb 26 22:11:51 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=38337

--- Comment #14 from Sergey Isakov <isakov-sl at bk.ru> ---
/Volumes/MacHD/Users/sergey/Documents/Projects/winehq/dlls/kernel32/file.c:2193:49:
warning: array index 1 is past the end of the array (which contains 1 element)
[-Warray-bounds]
                dir_info->FileName[0] == '.' && dir_info->FileName[1] == '.')
continue;
                                                ^                  ~
/Volumes/MacHD/Users/sergey/Documents/Projects/winehq/include/winternl.h:551:5:
note: array 'FileName' declared here
    WCHAR               FileName[ANYSIZE_ARRAY];
    ^
---------------------------------

Something like dynamic array size? Make a pointer instead of array.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list