From ea6e658976e86f99b4b793166b81a03750bfdef2 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Fri, 1 Aug 2008 04:22:35 +0000 Subject: Warning cleanup (bzr r6495) --- src/extension/internal/pov-out.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/extension') diff --git a/src/extension/internal/pov-out.cpp b/src/extension/internal/pov-out.cpp index d1a8e833c..b5c7cc6a3 100644 --- a/src/extension/internal/pov-out.cpp +++ b/src/extension/internal/pov-out.cpp @@ -304,7 +304,7 @@ void PovOutput::doCurves(SPDocument *doc) SPCurve *curve = shape->curve; if (curve->is_empty()) continue; - + nrShapes++; PovShapeInfo shapeInfo; @@ -384,7 +384,7 @@ void PovOutput::doCurves(SPDocument *doc) g_error ("logical error, because pathv_to_linear_and_cubic_beziers was used"); } - if (segmentNr <= segmentCount) + if (segmentNr <= static_cast(segmentCount)) out(",\n"); else out("\n"); @@ -400,7 +400,7 @@ void PovOutput::doCurves(SPDocument *doc) double cmaxx = cminmax.max()[X]; double cminy = cminmax.min()[Y]; double cmaxy = cminmax.max()[Y]; - + //# prefix for following declarations char *pfx = (char *)id.c_str(); @@ -553,9 +553,9 @@ void PovOutput::saveDocument(SPDocument *doc, gchar const *uri) outbuf.clear(); doHeader(); - + outbuf.append(curveBuf); - + doTail(); @@ -572,7 +572,7 @@ void PovOutput::saveDocument(SPDocument *doc, gchar const *uri) int ch = *iter; fputc(ch, f); } - + fclose(f); } -- cgit v1.2.3