summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-09-28 11:34:14 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-09-28 11:56:05 (GMT)
commit52c45eba97a929b6ea832512bf5d5b121e5fd453 (patch)
tree329fa396f978208d2dc0fab15737cf7dd5e76fcd
parent165dbe2615bf4b908e6bc84bb8963ca72fe5f866 (diff)
downloadQt-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
-rw-r--r--src/gui/painting/qrasterdefs_p.h2
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;
/*************************************************************************/