summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/fastgrep.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep/fastgrep.c')
-rw-r--r--usr.bin/grep/fastgrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/grep/fastgrep.c b/usr.bin/grep/fastgrep.c
index c66f0a7..30a2dc5 100644
--- a/usr.bin/grep/fastgrep.c
+++ b/usr.bin/grep/fastgrep.c
@@ -198,7 +198,7 @@ fastcomp(fastgrep_t *fg, const char *pat)
}
int
-grep_search(fastgrep_t *fg, unsigned char *data, size_t len, regmatch_t *pmatch)
+grep_search(fastgrep_t *fg, const unsigned char *data, size_t len, regmatch_t *pmatch)
{
unsigned int j;
int ret = REG_NOMATCH;
OpenPOWER on IntegriCloud