diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-28 11:34:14 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-28 11:56:05 (GMT) |
commit | 52c45eba97a929b6ea832512bf5d5b121e5fd453 (patch) | |
tree | 329fa396f978208d2dc0fab15737cf7dd5e76fcd /src/gui/painting | |
parent | 165dbe2615bf4b908e6bc84bb8963ca72fe5f866 (diff) | |
download | Qt-52c45eba97a929b6ea832512bf5d5b121e5fd453.zip Qt-52c45eba97a929b6ea832512bf5d5b121e5fd453.tar.gz Qt-52c45eba97a929b6ea832512bf5d5b121e5fd453.tar.bz2 |
Fixed regression in clipping.qps autotest on 64-bit.
TPos needs to be 32-bit, not 64-bit. QT_FT_Pos being 64-bit caused
sizeof(TWorker) + sizeof(TCell) in qgrayraster.c to exceed 4096, which
is the MINIMUM_POOL_SIZE, leading to rendering errors in certain cases.
Reviewed-by: Yoann Lopes
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qrasterdefs_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qrasterdefs_p.h b/src/gui/painting/qrasterdefs_p.h index 19a0b16..4d803c7 100644 --- a/src/gui/painting/qrasterdefs_p.h +++ b/src/gui/painting/qrasterdefs_p.h @@ -100,7 +100,7 @@ QT_FT_BEGIN_HEADER /* distances in integer font units, or 16,16, or 26.6 fixed float */ /* pixel coordinates. */ /* */ - typedef signed long QT_FT_Pos; + typedef signed int QT_FT_Pos; /*************************************************************************/ |