less/less-423-search.patch
2008-06-11 08:46:36 +00:00

12 lines
360 B
Diff

--- less-423/search.c.beta 2008-06-09 18:45:32.000000000 +0200
+++ less-423/search.c 2008-06-11 10:27:34.000000000 +0200
@@ -410,7 +410,7 @@ compile_pattern2(pattern, search_type, c
#endif
#if HAVE_PCRE
pcre *comp;
- pcre *pcomp = (pcre *) comp_pattern;
+ pcre **pcomp = (pcre **) comp_pattern;
const char *errstring;
int erroffset;
PARG parg;