Files
OpenRCT2-Web/src/windows
Michał Janiszewski 8a5d066efe Fix strict aliasing violations
Compiler only guarantees proper accesses to variables when using
variable's native type or `char` (i.e. single byte type) [1].

This commit fixes violations of this rule. In most cases changing code
to a simple cast was enough, some required a bit deeper modifications.

This fixes #2596.

[1] http://blog.qt.io/blog/2011/06/10/type-punning-and-strict-aliasing/
2015-12-31 13:27:26 +01:00
..
2015-10-20 20:48:51 +02:00
2015-12-11 16:19:46 -06:00
2015-09-07 14:57:39 +02:00
2015-12-26 17:19:25 +00:00
2015-12-31 13:27:26 +01:00
2015-12-31 13:27:26 +01:00
2015-10-20 20:48:51 +02:00
2015-12-20 22:03:37 -06:00
2015-12-20 22:03:37 -06:00
2015-12-20 22:03:37 -06:00
2015-12-31 13:27:26 +01:00
2015-12-31 13:27:26 +01:00
2015-12-31 13:27:26 +01:00
2015-12-11 16:19:46 -06:00
2015-12-31 13:27:26 +01:00
2015-12-31 13:27:26 +01:00
2015-12-20 22:03:37 -06:00
2015-12-26 17:30:13 +00:00
2015-12-28 19:44:43 +00:00
2015-12-31 13:27:26 +01:00
2015-12-31 13:27:26 +01:00
2015-12-29 11:57:47 +00:00
2015-11-08 18:55:32 +00:00
2015-12-11 16:19:46 -06:00
2015-10-20 20:48:51 +02:00
2015-11-08 18:55:32 +00:00
2015-11-08 18:55:32 +00:00
2015-10-20 20:48:51 +02:00
2015-11-12 12:19:40 +01:00
2015-10-20 20:48:51 +02:00
2015-12-20 22:03:37 -06:00
2015-10-20 20:48:51 +02:00
2015-12-20 22:03:37 -06:00
2015-12-31 13:27:26 +01:00