From: Priit Laes Date: Fri, 18 Apr 2008 07:52:58 +0000 (+0200) Subject: samp and friends from char* to const char* X-Git-Tag: 2.0rc1~148 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4c81b16ccc39d59392dace6573c051985ccc2825;p=jinja2.git samp and friends from char* to const char* --HG-- branch : trunk --- diff --git a/jinja2/_speedups.c b/jinja2/_speedups.c index 30bea54..6aad8ec 100644 --- a/jinja2/_speedups.c +++ b/jinja2/_speedups.c @@ -11,7 +11,7 @@ #include -static char *samp = "&", *slt = "<", *sgt = ">", *sqt = """; +static const char *samp = "&", *slt = "<", *sgt = ">", *sqt = """; static Py_UNICODE *amp, *lt, *gt, *qt; static PyObject* markup;