diff options
author | Christian Strømme <christian.stromme@digia.com> | 2012-11-13 19:17:17 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-23 02:32:19 +0100 |
commit | 3f936e9094f3a6e4d76791c1eff7ae92f91b61ae (patch) | |
tree | d4eb081fc8f3d50fab7cf6b624b65b3380af41fc /util/scripts/unix_to_dos | |
parent | dc2fd227abe2508f2c8329623c4342800a107147 (diff) |
Fixes problem with single precision floats in QDataStream (Windows).
When the floating-point behavior in MSVC is set to "precise" (default),
assigning nan numbers to a float causes the bit pattern to be altered
(only affects 32bit builds). We should therefore not assign the swapped
value back to a float and use it.
Task-number: QTBUG-25950
Change-Id: I7b6cc4d546e5c8aeafdede749056358b7d639ec7
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'util/scripts/unix_to_dos')
0 files changed, 0 insertions, 0 deletions