summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-22 17:25:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-22 20:10:35 +0100
commit8251f0b954fa33bf43824d6d77d31ee8de4f3e77 (patch)
tree855270e94a13b097523b25f5a512dde18b87ba06 /vcl/source/glyphs
parenta27ff9471d6b626bc7946854098c83c391fcec94 (diff)
WaE: signed/unsigned error
Diffstat (limited to 'vcl/source/glyphs')
-rw-r--r--vcl/source/glyphs/graphite_layout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx
index a0f48c8ee71a..008590625a46 100644
--- a/vcl/source/glyphs/graphite_layout.cxx
+++ b/vcl/source/glyphs/graphite_layout.cxx
@@ -329,7 +329,7 @@ GraphiteLayout::fillFrom(gr_segment * pSegment, ImplLayoutArgs &rArgs, float fSc
float leftBoundary = gr_slot_origin_X(clusterFirst);
float rightBoundary = (clusterAfter)?
gr_slot_origin_X(clusterAfter) : gr_seg_advance_X(pSegment);
- size_t bFirstChar = gr_cinfo_base(gr_seg_cinfo(pSegment, nFirstCharInCluster));
+ int bFirstChar = gr_cinfo_base(gr_seg_cinfo(pSegment, nFirstCharInCluster));
if (mnSegCharOffset + bFirstChar >= mnMinCharPos &&
mnSegCharOffset + bFirstChar < mnEndCharPos)
{
@@ -339,7 +339,7 @@ GraphiteLayout::fillFrom(gr_segment * pSegment, ImplLayoutArgs &rArgs, float fSc
{
for (int i = nFirstCharInCluster; i <= nLastCharInCluster; i++)
{
- size_t ibase = gr_cinfo_base(gr_seg_cinfo(pSegment, i));
+ int ibase = gr_cinfo_base(gr_seg_cinfo(pSegment, i));
if (mnSegCharOffset + ibase >= mnEndCharPos)
break;
// from the point of view of the dx array, the xpos is