From df44b6baca018000107cdde0c3613ff3bbc53742 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Sun, 12 Dec 2010 11:55:36 -0800 Subject: [PATCH] Fixed const/non-const mismatch loop. --- src/xml/repr-util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp index 07a25ca6d..9405cde01 100644 --- a/src/xml/repr-util.cpp +++ b/src/xml/repr-util.cpp @@ -456,7 +456,7 @@ Inkscape::XML::Node const *sp_repr_lookup_name( Inkscape::XML::Node const *repr, Inkscape::XML::Node *sp_repr_lookup_name( Inkscape::XML::Node *repr, gchar const *name, gint maxdepth ) { - Inkscape::XML::Node const *found = sp_repr_lookup_name( const_cast(repr), name, maxdepth ); + Inkscape::XML::Node const *found = sp_repr_lookup_name( const_cast(repr), name, maxdepth ); return const_cast(found); } -- 2.30.2