Commit 0323a56a authored by Glenn Watson's avatar Glenn Watson Committed by Qt by Nokia
Browse files

Fix some QJSValue test failures.


Fix precision issues causing test failures on platforms where
qreal is defined as single precision. Also use explicit casts
to ensure well defined behaviour when converting a negative
double value to an unsigned integer.

Change-Id: Ia0048bf83169d3b617f70828f86368c23f4f3786
Reviewed-by: default avatarChris Adams <christopher.adams@nokia.com>
Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
parent 9d12cc15
Showing with 10 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment