Mercurial > hg > xemacs-beta
changeset 5661:6e5a7278f9bf
Add cast to Ibyte *, search.c, thank you Jeff Sparkes.
2012-05-07 Jeff Sparkes <jsparkes@gmail.com>
* search.c (skip_chars): Add cast to Ibyte *.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 08 May 2012 09:47:41 +0100 |
parents | 796f2a8fdced |
children | bed39edf91ba |
files | src/ChangeLog src/search.c |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue May 08 09:34:14 2012 +0100 +++ b/src/ChangeLog Tue May 08 09:47:41 2012 +0100 @@ -1,4 +1,8 @@ -012-05-06 Aidan Kehoe <kehoea@parhasard.net> +2012-05-07 Jeff Sparkes <jsparkes@gmail.com> + + * search.c (skip_chars): Add cast to Ibyte *. + +2012-05-06 Aidan Kehoe <kehoea@parhasard.net> * eval.c: * eval.c (Fmacroexpand):
--- a/src/search.c Tue May 08 09:34:14 2012 +0100 +++ b/src/search.c Tue May 08 09:47:41 2012 +0100 @@ -972,7 +972,7 @@ break; } - colonp = memchr (p, ':', pend - p); + colonp = (Ibyte *) memchr (p, ':', pend - p); if (NULL == colonp || (colonp + 1) == pend || colonp[1] != ']') { fastmap ['['] = fastmap[':'] = 1;