summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2012-06-18 14:04:55 +0000
committerHerbert Dürr <hdu@apache.org>2012-06-18 14:04:55 +0000
commitfebadae3d165ba12f2f7944b441fdfc328a3725a (patch)
tree719378edf9db0e9738986880ddfd270ae0a9dac1 /vcl/source/gdi
parentbea28db1bbf8a387c5434f3e1d15a056044a21b8 (diff)
#c706125# fix overallocation on 64bit platforms
Notes
Notes: merged as: c407de35fb9ebf1a585fe490dbf353f7e1a01dd1
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r--vcl/source/gdi/sallayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index e8989933b29d..c80040330529 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -1166,7 +1166,7 @@ void GenericSalLayout::ApplyDXArray( ImplLayoutArgs& rArgs )
}
// calculate adjusted cluster widths
- sal_Int32* pNewGlyphWidths = (sal_Int32*)alloca( mnGlyphCount * sizeof(long) );
+ sal_Int32* pNewGlyphWidths = (sal_Int32*)alloca( mnGlyphCount * sizeof(sal_Int32) );
for( i = 0; i < mnGlyphCount; ++i )
pNewGlyphWidths[ i ] = 0;