summaryrefslogtreecommitdiff
path: root/vcl/win/gdi/salprn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/win/gdi/salprn.cxx')
-rw-r--r--vcl/win/gdi/salprn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx
index 04478467380c..926854aeeb2d 100644
--- a/vcl/win/gdi/salprn.cxx
+++ b/vcl/win/gdi/salprn.cxx
@@ -382,7 +382,7 @@ static bool ImplUpdateSalJobSetup( WinSalInfoPrinter* pPrinter, ImplJobSetup* pS
}
// make Outputbuffer
- const sal_Size nDriverDataLen = sizeof(SalDriverData) + nSysJobSize-1;
+ const std::size_t nDriverDataLen = sizeof(SalDriverData) + nSysJobSize-1;
pOutBuffer = (SalDriverData*)rtl_allocateZeroMemory( nDriverDataLen );
pOutBuffer->mnSysSignature = SAL_DRIVERDATA_SYSSIGN;
// calculate driver data offset including structure padding