about summary refs log tree commit diff
path: root/posix/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/regex.h')
-rw-r--r--posix/regex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex.h b/posix/regex.h
index e5ec398106..ba819efa41 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -346,7 +346,7 @@ typedef enum
    private to the regex routines.  */
 
 #ifndef RE_TRANSLATE_TYPE
-# define RE_TRANSLATE_TYPE char *
+# define RE_TRANSLATE_TYPE unsigned char *
 #endif
 
 struct re_pattern_buffer