##// END OF EJS Templates
fix const annotation warning
Benoit Boissinot -
r6395:3f029453 default
parent child Browse files
Show More
@@ -31,7 +31,8 b' static int hexdigit(char c)'
31 static PyObject *unhexlify(const char *str, int len)
31 static PyObject *unhexlify(const char *str, int len)
32 {
32 {
33 PyObject *ret = NULL;
33 PyObject *ret = NULL;
34 char *c, *d;
34 const char *c;
35 char *d;
35
36
36 if (len % 2) {
37 if (len % 2) {
37 PyErr_SetString(PyExc_ValueError,
38 PyErr_SetString(PyExc_ValueError,
General Comments 0
You need to be logged in to leave comments. Login now