From 52c45eba97a929b6ea832512bf5d5b121e5fd453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Tue, 28 Sep 2010 13:34:14 +0200 Subject: 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 --- src/gui/painting/qrasterdefs_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; /*************************************************************************/ -- cgit v0.12