diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-08-01 04:22:35 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-08-01 04:22:35 +0000 |
| commit | ea6e658976e86f99b4b793166b81a03750bfdef2 (patch) | |
| tree | a7c3183623854aa8f33f0394849beee62cc6bae9 /src/extension | |
| parent | fix error in creating nodepath from pathvector (diff) | |
| download | inkscape-ea6e658976e86f99b4b793166b81a03750bfdef2.tar.gz inkscape-ea6e658976e86f99b4b793166b81a03750bfdef2.zip | |
Warning cleanup
(bzr r6495)
Diffstat (limited to 'src/extension')
| -rw-r--r-- | src/extension/internal/pov-out.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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<int>(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); } |
