From 55e572ef8986dec1febac0e6d4581d820a23a9a5 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Thu, 30 Sep 2010 16:26:40 -0700 Subject: [PATCH] * src/xml.c (parse_string): Use const. --- src/ChangeLog | 4 ++++ src/xml.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 140be8095d7..05d7d4336ae 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-09-30 Dan Nicolaescu + + * xml.c (parse_string): Use const. + 2010-09-30 Lars Magne Ingebrigtsen * eval.c (Fbacktrace): Don't overwrite print-level on exit. Also diff --git a/src/xml.c b/src/xml.c index 5829f1da538..6f4b1e79cd4 100644 --- a/src/xml.c +++ b/src/xml.c @@ -80,7 +80,7 @@ parse_string (Lisp_Object string, Lisp_Object base_url, int htmlp) xmlNode *node; Lisp_Object result = Qnil; int ibeg, iend; - char *burl = ""; + const char *burl = ""; LIBXML_TEST_VERSION; -- 2.39.5