From: Dan Nicolaescu Date: Thu, 30 Sep 2010 23:26:40 +0000 (-0700) Subject: * src/xml.c (parse_string): Use const. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~46^2~281 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55e572ef8986dec1febac0e6d4581d820a23a9a5;p=emacs.git * src/xml.c (parse_string): Use const. --- 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;