samp and friends from char* to const char*
authorPriit Laes <plaes@plaes.org>
Fri, 18 Apr 2008 07:52:58 +0000 (09:52 +0200)
committerPriit Laes <plaes@plaes.org>
Fri, 18 Apr 2008 07:52:58 +0000 (09:52 +0200)
--HG--
branch : trunk

jinja2/_speedups.c

index 30bea54cce17158feca7340efadaafe2662185b5..6aad8ec905833263bd4d0794c9b1257257fc0d84 100644 (file)
@@ -11,7 +11,7 @@
 #include <Python.h>
 
 
-static char *samp = "&amp;", *slt = "&lt;", *sgt = "&gt;", *sqt = "&quot;";
+static const char *samp = "&amp;", *slt = "&lt;", *sgt = "&gt;", *sqt = "&quot;";
 static Py_UNICODE *amp, *lt, *gt, *qt;
 static PyObject* markup;