mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
cdca4e9036
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)); ^~~~~~ |
||
---|---|---|
.. | ||
help | ||
icons | ||
lang | ||
CMakeLists.txt | ||
common.h | ||
definitions.h | ||
dialogs.cpp | ||
dialogs.h | ||
dib.cpp | ||
dib.h | ||
drawing.cpp | ||
drawing.h | ||
fullscreen.cpp | ||
fullscreen.h | ||
globalvar.h | ||
history.cpp | ||
history.h | ||
imgarea.cpp | ||
imgarea.h | ||
main.cpp | ||
miniature.cpp | ||
miniature.h | ||
mouse.cpp | ||
mouse.h | ||
mspaint.exe.amd64.manifest | ||
mspaint.exe.manifest | ||
palette.cpp | ||
palette.h | ||
palettemodel.cpp | ||
palettemodel.h | ||
precomp.h | ||
registry.cpp | ||
registry.h | ||
rsrc.rc | ||
scrollbox.cpp | ||
scrollbox.h | ||
selection.cpp | ||
selection.h | ||
selectionmodel.cpp | ||
selectionmodel.h | ||
sizebox.cpp | ||
sizebox.h | ||
textedit.cpp | ||
textedit.h | ||
toolbox.cpp | ||
toolbox.h | ||
toolsettings.cpp | ||
toolsettings.h | ||
toolsmodel.cpp | ||
toolsmodel.h | ||
winproc.cpp | ||
winproc.h |