summaryrefslogtreecommitdiff
path: root/opencl
diff options
context:
space:
mode:
Diffstat (limited to 'opencl')
-rw-r--r--opencl/inc/opencl_device_selection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h
index c878a5bc4213..3ed1bd8f3b33 100644
--- a/opencl/inc/opencl_device_selection.h
+++ b/opencl/inc/opencl_device_selection.h
@@ -347,7 +347,7 @@ public:
bool open(SvStream* pStream)
{
- sal_Size nSize = pStream->remainingSize();
+ std::size_t nSize = pStream->remainingSize();
std::vector<sal_uInt8> aBuffer(nSize + 1);
pStream->ReadBytes(aBuffer.data(), nSize);
aBuffer[nSize] = 0;