From 35c637e1d9a78fe88c935f3545f98f68b32403f4 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 25 Jun 2009 16:44:55 +0200 Subject: python/tag.cc: Store the return value of PyString_AsString as const char*. --- python/tag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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(Self).Find(Name,Start,Stop) == false) -- cgit v1.2.3