Mercurial > hg
changeset 6395:3f0294536b24
fix const annotation warning
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 28 Mar 2008 19:47:22 +0100 |
parents | 55bc0a035e1f |
children | d1cf40b596f8 f615ece5fec3 |
files | mercurial/parsers.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/parsers.c Fri Mar 28 17:31:50 2008 +0100 +++ b/mercurial/parsers.c Fri Mar 28 19:47:22 2008 +0100 @@ -31,7 +31,8 @@ static PyObject *unhexlify(const char *str, int len) { PyObject *ret = NULL; - char *c, *d; + const char *c; + char *d; if (len % 2) { PyErr_SetString(PyExc_ValueError,