# HG changeset patch # User Benoit Boissinot # Date 1206730042 -3600 # Node ID 3f0294536b24c19847145c4ba770a5f9a4e55324 # Parent 55bc0a035e1f66e18f4d7c03f4fbb99b9878c9dd fix const annotation warning diff -r 55bc0a035e1f -r 3f0294536b24 mercurial/parsers.c --- 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,