Léo Lam
eafe005672
Fix -Wclass-memaccess warnings
...
We want to clear/memset the padding bytes, not just each member,
so using assignment or {} initialization is not an option.
To silence the warnings, cast the object pointer to u8* (which is not
undefined behavior) to make it explicit to the compiler that we want
to fill the object representation.
2020-12-16 15:37:43 +01:00
..
2019-07-10 23:34:54 -04:00
2019-05-06 18:48:04 +00:00
2019-05-31 06:54:26 -04:00
2019-05-06 18:48:04 +00:00
2020-07-18 18:29:16 -05:00
2019-05-06 18:48:04 +00:00
2019-05-06 18:48:04 +00:00
2017-11-17 22:11:31 -06:00
2020-11-09 03:14:01 -05:00
2019-07-16 20:54:34 -04:00
2017-08-22 22:39:28 -04:00
2020-03-25 07:57:14 +08:00
2019-05-06 18:48:04 +00:00
2020-12-16 15:37:43 +01:00
2016-06-24 10:43:46 +02:00
2020-08-22 16:17:50 -07:00
2020-12-02 13:38:33 -05:00
2020-12-02 13:38:33 -05:00
2019-07-16 20:54:34 -04:00
2019-12-05 11:48:42 -05:00
2019-06-08 20:57:52 +10:00
2019-02-19 16:57:54 +10:00
2019-02-19 16:57:54 +10:00
2020-11-20 15:54:06 -08:00
2019-02-19 16:57:54 +10:00
2020-12-02 13:38:33 -05:00
2017-09-03 14:15:21 -04:00
2019-04-21 14:28:14 +10:00
2020-12-02 13:38:33 -05:00
2019-07-16 20:54:34 -04:00
2019-05-06 18:48:04 +00:00
2019-05-06 18:48:04 +00:00
2020-12-02 13:38:33 -05:00
2019-05-06 18:48:04 +00:00
2016-09-24 05:28:00 -04:00
2020-09-06 12:56:45 +02:00