Code

Switched pen and pencil toobars to stock GTK+ toolbars
[inkscape.git] / src / svg / stringstream.cpp
index cdb29c865e7cb7581c540f08c5a07faaf69dcaa0..65c01e7b687b3332f138f5ee9f941643687b663c 100644 (file)
@@ -20,7 +20,7 @@ operator<<(Inkscape::SVGOStringStream &os, float d)
 {
     /* Try as integer first. */
     {
-        long const n = long(d);
+        int const n = int(d);
         if (d == n) {
             os << n;
             return os;
@@ -41,7 +41,7 @@ operator<<(Inkscape::SVGOStringStream &os, double d)
 {
     /* Try as integer first. */
     {
-        long const n = long(d);
+        int const n = int(d);
         if (d == n) {
             os << n;
             return os;