diff options
Diffstat (limited to 'src/basic/extract-word.c')
-rw-r--r-- | src/basic/extract-word.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/extract-word.c b/src/basic/extract-word.c index 4104dac9a7..4e4e7e8ce9 100644 --- a/src/basic/extract-word.c +++ b/src/basic/extract-word.c @@ -91,7 +91,7 @@ int extract_first_word(const char **p, char **ret, const char *separators, Extra char32_t u; if ((flags & EXTRACT_CUNESCAPE) && - (r = cunescape_one(*p, (size_t) -1, &u, &eight_bit, false)) >= 0) { + (r = cunescape_one(*p, SIZE_MAX, &u, &eight_bit, false)) >= 0) { /* A valid escaped sequence */ assert(r >= 1); |