diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-07-17 13:50:04 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-07-19 08:26:15 +0000 |
commit | 72ba369a115d97f707cbe6131d8daa751dc5b355 (patch) | |
tree | d62e778f5c1bdc1615bd888c030e3f2f003717ec /tests | |
parent | d75868d02ad37dce5806a8d1313b123ff6ce6c09 (diff) | |
download | qtxmlpatterns-72ba369a115d97f707cbe6131d8daa751dc5b355.tar.gz |
Fix type of QCommonValues::YearMonthDurationZero
As reported by UBSan:
src/corelib/tools/qshareddata.h:167:13: runtime error: downcast of address 0x0000023ce510 which does not point to an object of type 'DayTimeDuration'
0x0000023ce510: note: object is of type 'QPatternist::YearMonthDuration'
00 00 00 00 90 6c 52 5b 1f 2b 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 31 00 00 00
^~~~~~~~~~~~~~~~~~~~~~~
vptr for 'QPatternist::YearMonthDuration'
Another victim of QT_ENABLE_QEXPLICITLYSHAREDDATAPOINTER_STATICCAST...
Change-Id: I121433e0d2ad8b203ccf9d9f08bd166b39502cbb
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions