Timo Kreuzer
cdca4e9036
[MSPAINT] Don't use SIZEOF on a pointer
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));
^~~~~~
2019-07-20 13:56:18 +02:00
..
2019-01-05 10:50:11 +01:00
2019-03-11 16:50:17 +01:00
2019-04-05 10:34:10 +02:00
2018-11-07 16:58:16 +01:00
2019-04-18 19:21:37 +02:00
2019-01-07 00:35:11 +09:00
2019-06-16 01:00:40 +02:00
2017-10-03 07:45:34 +00:00
2019-04-18 19:21:37 +02:00
2018-11-21 22:07:54 +01:00
2019-01-25 13:07:01 +01:00
2018-12-27 16:24:24 +09:00
2019-04-18 19:21:37 +02:00
2019-06-04 15:52:07 +02:00
2019-01-07 00:35:11 +09:00
2017-10-03 07:45:34 +00:00
2018-04-01 13:08:41 +01:00
2019-04-06 17:43:38 +02:00
2018-11-07 16:58:16 +01:00
2019-06-15 19:11:21 +02:00
2018-09-14 11:04:36 +02:00
2019-03-10 19:21:57 +01:00
2019-06-29 16:55:33 +02:00
2019-04-18 19:21:37 +02:00
2018-12-27 16:24:24 +09:00
2018-06-05 17:17:00 +02:00
2019-07-20 13:56:18 +02:00
2019-06-14 19:12:40 +03:00
2019-06-30 13:55:05 +02:00
2019-06-20 17:31:47 +02:00
2019-07-15 15:59:06 +02:00
2019-06-17 15:12:13 +02:00
2019-06-17 15:12:13 +02:00
2017-10-03 07:45:34 +00:00
2018-08-04 19:19:34 +02:00
2018-11-07 16:58:16 +01:00
2017-10-03 07:45:34 +00:00
2019-06-20 17:31:48 +02:00
2018-09-14 11:04:36 +02:00
2019-04-05 10:34:10 +02:00
2019-03-11 16:50:17 +01:00
2019-04-13 15:58:22 +02:00
2019-03-23 17:45:27 +01:00
2019-01-07 00:35:11 +09:00
2018-04-01 13:10:37 +01:00
2018-08-19 19:56:18 +02:00
2018-08-19 19:56:18 +02:00