diff options
Diffstat (limited to 'vcl/generic/print/printerjob.cxx')
-rw-r--r-- | vcl/generic/print/printerjob.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/print/printerjob.cxx b/vcl/generic/print/printerjob.cxx index 7cfeeade1273..f3aa39df8125 100644 --- a/vcl/generic/print/printerjob.cxx +++ b/vcl/generic/print/printerjob.cxx @@ -66,7 +66,7 @@ AppendPS (FILE* pDst, osl::File* pSrc, unsigned char* pBuffer, if (nBlockSize == 0) nBlockSize = nBLOCKSIZE; if (pBuffer == NULL) - pBuffer = (unsigned char*)alloca (nBlockSize); + pBuffer = static_cast<unsigned char*>(alloca (nBlockSize)); sal_uInt64 nIn = 0; sal_uInt64 nOut = 0; |