diff options
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 9c6b12e6e..d85cd697f 100644 --- a/src/expr.c +++ b/src/expr.c @@ -437,7 +437,7 @@ of the basic regular expression is not portable; it is being ignored"), if (re_buffer.allocated < len) xalloc_die (); re_buffer.buffer = xmalloc (re_buffer.allocated); - re_buffer.translate = 0; + re_buffer.translate = NULL; re_syntax_options = RE_SYNTAX_POSIX_BASIC; errmsg = re_compile_pattern (pv->u.s, len, &re_buffer); if (errmsg) |