blob: 1d352386f3a398f5646d7154c573d84cec879c6a [file] [log] [blame] [edit]
diff -Naur libwpg-0.3.3-orig/src/lib/WPG2Parser.cpp libwpg-0.3.3/src/lib/WPG2Parser.cpp
--- libwpg-0.3.3-orig/src/lib/WPG2Parser.cpp 2019-01-01 21:06:10.000000000 +0300
+++ libwpg-0.3.3/src/lib/WPG2Parser.cpp 2019-06-03 14:01:34.036429900 +0300
@@ -1524,8 +1524,8 @@
}
WPG_DEBUG_MSG((" Vertices count : %li\n", (long) count));
- for (unsigned int j = 0; j < count; j++)
- WPG_DEBUG_MSG((" Point #%d : %g,%g\n", j+1, points[j]["svg:x"]->getDouble(), points[j]["svg:x"]->getDouble()));
+ for (unsigned long j = 0; j < count; j++)
+ WPG_DEBUG_MSG((" Point #%lu : %g,%g\n", j+1, points[j]["svg:x"]->getDouble(), points[j]["svg:x"]->getDouble()));
}
void WPG2Parser::handlePolyspline()