summaryrefslogtreecommitdiff
path: root/include/vcl/BitmapFilter.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/BitmapFilter.hxx')
-rw-r--r--include/vcl/BitmapFilter.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/vcl/BitmapFilter.hxx b/include/vcl/BitmapFilter.hxx
index 899d98047a03..c19d83b2d507 100644
--- a/include/vcl/BitmapFilter.hxx
+++ b/include/vcl/BitmapFilter.hxx
@@ -28,13 +28,14 @@ namespace vcl::bitmap
// [0, 31, false], [32, 63, false], [64, 95, false], [96, 100, true]
template <int STRIP_SIZE>
void generateStripRanges(
- long nFirst, long nLast,
- std::function<void(long const nStart, long const nEnd, bool const bLast)> aFunction)
+ tools::Long nFirst, tools::Long nLast,
+ std::function<void(tools::Long const nStart, tools::Long const nEnd, bool const bLast)>
+ aFunction)
{
- long nStart = nFirst;
+ tools::Long nStart = nFirst;
for (; nStart < nLast - STRIP_SIZE; nStart += STRIP_SIZE)
{
- long nEnd = nStart + STRIP_SIZE - 1;
+ tools::Long nEnd = nStart + STRIP_SIZE - 1;
aFunction(nStart, nEnd, false);
}
aFunction(nStart, nLast, true);