diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-05-28 13:49:40 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-05-28 13:20:24 +0000 |
commit | 854c15cdb64f9693fc8d90f73464d499ebdca4fd (patch) | |
tree | bf96694a0289d2b58df4af6e4c937c7dddc83d86 /tests/auto/qml/qjsengine/translations/translatable-unicode.ts | |
parent | 56a2b70247270c780247a1d2dcc670c3f0f5ab80 (diff) |
Fix a crash in the modulus operation
INT_MIN % -1 crashes in C++ with an arithmetic exception, so
avoid passing negative numbers into the integer operation, use
fmod() instead.
Task-number: QTBUG-68513
Change-Id: Ib5a37b55a0f9d41a84c7e6c00ea3f87622155de5
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qjsengine/translations/translatable-unicode.ts')
0 files changed, 0 insertions, 0 deletions