summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/print/text_gfx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/print/text_gfx.cxx')
-rw-r--r--vcl/unx/generic/print/text_gfx.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/print/text_gfx.cxx b/vcl/unx/generic/print/text_gfx.cxx
index 723fd46e2fa7..bcb46583a8ae 100644
--- a/vcl/unx/generic/print/text_gfx.cxx
+++ b/vcl/unx/generic/print/text_gfx.cxx
@@ -536,7 +536,7 @@ PrinterGfx::LicenseWarning(const Point& rPoint, const sal_Unicode* pStr,
RTL_TEXTENCODING_ASCII_US);
PSSetFont (aFontName, RTL_TEXTENCODING_ISO_8859_1);
- sal_Size nSize = 4 * nLen;
+ std::size_t nSize = 4 * nLen;
unsigned char* pBuffer = static_cast<unsigned char*>(alloca (nSize* sizeof(unsigned char)));
ConverterFactory &rCvt = GetConverterFactory ();