summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index bee9cd4774..e020cedb36 100644
--- a/string.c
+++ b/string.c
@@ -495,7 +495,7 @@ search_nonascii(const char *p, const char *e)
#define aligned_ptr(value) (uintptr_t *)(value)
#endif
s = aligned_ptr(p);
- t = aligned_ptr(e - (SIZEOF_VOIDP-1));
+ t = (uintptr_t *)(e - (SIZEOF_VOIDP-1));
#undef aligned_ptr
for (;s < t; s++) {
if (*s & NONASCII_MASK) {