mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
![]() Fixes GCC 8 warning: base/applications/mspaint/definitions.h:16:31: error: division 'sizeof (LPWSTR {aka wchar_t*}) / sizeof (WCHAR {aka wchar_t})' does not compute the number of array elements [-Werror=sizeof-pointer-div] #define SIZEOF(a) (sizeof(a) / sizeof((a)[0])) ~~~~~~~~~~^~~~~~~~~~~~~~~~ base/applications/mspaint/main.cpp:134:55: note: in expansion of macro 'SIZEOF' lstrcpyn(pon->lpOFN->lpstrFile, Path, SIZEOF(pon->lpOFN->lpstrFile)); ^~~~~~ |
||
---|---|---|
.. | ||
applications | ||
services | ||
setup | ||
shell | ||
system | ||
CMakeLists.txt |