summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/tag.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tag.cc b/python/tag.cc
index 74857fe5..4fcdf067 100644
--- a/python/tag.cc
+++ b/python/tag.cc
@@ -191,7 +191,7 @@ static PyObject *TagSecExists(PyObject *Self,PyObject *Args)
static int TagSecContains(PyObject *Self,PyObject *Arg)
{
- char *Name = PyString_AsString(Arg);
+ const char *Name = PyString_AsString(Arg);
const char *Start;
const char *Stop;
if (GetCpp<pkgTagSection>(Self).Find(Name,Start,Stop) == false)