Code

clean up tabs and DOS-ishness
[inkscape.git] / src / livarot / Shape.cpp
index 1a2f63871b89095edace9872a6e38acd928094dd..d03940f2f7fe01268ecb6df0506460e997e20efa 100644 (file)
@@ -6,6 +6,8 @@
  *
  */
 
+#include <cstdio>
+#include <cstdlib>
 #include <glib/gmem.h>
 #include "Shape.h"
 #include "livarot/sweep-event-queue.h"
@@ -51,7 +53,7 @@ Shape::~Shape (void)
 
 void Shape::Affiche(void)
 {
-  printf("sh=%p nbPt=%i nbAr=%i\n",this, _pts.size(), _aretes.size()); // localizing ok
+  printf("sh=%p nbPt=%i nbAr=%i\n", this, static_cast<int>(_pts.size()), static_cast<int>(_aretes.size())); // localizing ok
   for (unsigned int i=0; i<_pts.size(); i++) {
     printf("pt %i : x=(%f %f) dI=%i dO=%i\n",i, _pts[i].x[0], _pts[i].x[1], _pts[i].dI, _pts[i].dO); // localizing ok
   }