summaryrefslogtreecommitdiff
path: root/include/o3tl/string_view.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/o3tl/string_view.hxx')
-rw-r--r--include/o3tl/string_view.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/o3tl/string_view.hxx b/include/o3tl/string_view.hxx
index 5d03b2cfba87..07278be8e529 100644
--- a/include/o3tl/string_view.hxx
+++ b/include/o3tl/string_view.hxx
@@ -509,7 +509,7 @@ inline double toDouble(std::string_view str)
}
// Like OUString::iterateCodePoints, but for std::string_view:
-inline sal_uInt32 iterateCodePoints(std::u16string_view string, std::size_t* indexUtf16,
+inline sal_uInt32 iterateCodePoints(std::u16string_view string, sal_Int32* indexUtf16,
sal_Int32 incrementCodePoints = 1)
{
std::size_t n;