From 90ad663f3849368c59c9b1391690f3266c5a8eec Mon Sep 17 00:00:00 2001 From: ishmal Date: Tue, 27 Nov 2007 19:12:45 +0000 Subject: [PATCH] use size_t for comparison with strlen() to be more portable --- src/sp-shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp index daf85b534..13500862a 100644 --- a/src/sp-shape.cpp +++ b/src/sp-shape.cpp @@ -1121,7 +1121,7 @@ static void sp_shape_snappoints(SPItem const *item, SnapPointsIter p) gchar const *nodetypes = item->repr->attribute("sodipodi:nodetypes"); int nodetype_index = 0; - bool nodetypes_out_of_date = strlen(nodetypes) != uint(shape->curve->end); + bool nodetypes_out_of_date = strlen(nodetypes) != (size_t)(shape->curve->end); // nodetypes might still be empty, e.g. for pure SVG files // or it might not have been updated yet -- 2.30.2