util/StringStrip: use std::size_t

This commit is contained in:
Max Kellermann
2020-10-15 12:52:44 +02:00
parent c63bd323ce
commit 9355ec44e0
2 changed files with 6 additions and 6 deletions

View File

@@ -82,8 +82,8 @@ StripRight(char *p, char *end) noexcept
* side.
*/
gcc_pure gcc_nonnull_all
size_t
StripRight(const char *p, size_t length) noexcept;
std::size_t
StripRight(const char *p, std::size_t length) noexcept;
/**
* Strip trailing whitespace by null-terminating the string.