From: Jon A. Cruz Date: Sun, 12 Dec 2010 19:55:36 +0000 (-0800) Subject: Fixed const/non-const mismatch loop. X-Git-Url: https://git.tokkee.org/?p=inkscape.git;a=commitdiff_plain;h=df44b6baca018000107cdde0c3613ff3bbc53742 Fixed const/non-const mismatch loop. --- 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); }