aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/SString.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SString.h b/include/SString.h
index eacfef35b..8ef3ede8e 100644
--- a/include/SString.h
+++ b/include/SString.h
@@ -28,7 +28,7 @@ bool EqualCaseInsensitive(const char *a, const char *b);
class SString {
public:
/** Type of string lengths (sizes) and positions (indexes). */
- typedef unsigned int lenpos_t;
+ typedef size_t lenpos_t;
/** Out of bounds value indicating that the string argument should be measured. */
enum { measure_length=0xffffffffU};