Commit c525b3f2 authored by Jan Djärv's avatar Jan Djärv

serach.c (simple_search): Remove warning by making *p const.

parent 6c6f788d
2009-11-27 Jan Djärv <jan.h.d@swipnet.se>
* search.c (simple_search): Remove warning by making *p const.
2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
* xdisp.c (power_letter): Remove duplicate const.
......
......@@ -1612,7 +1612,7 @@ simple_search (n, pat, len, len_byte, trt, pos, pos_byte, lim, lim_byte)
EMACS_INT this_pos = pos;
EMACS_INT this_pos_byte = pos_byte;
int this_len = len;
unsigned char *p = pat + len_byte;
const unsigned char *p = pat + len_byte;
if (this_pos - len < lim || (pos_byte - len_byte) < lim_byte)
goto stop;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment