fix const annotation warning
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 28 Mar 2008 19:47:22 +0100
changeset 6395 3f0294536b24
parent 6394 55bc0a035e1f
child 6402 d1cf40b596f8
child 6403 f615ece5fec3
fix const annotation warning
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,