From 2b75308520def20614628c3e7bebf857e4432898 Mon Sep 17 00:00:00 2001 From: keescook Date: Sat, 13 Jan 2007 07:56:52 +0000 Subject: [PATCH] long is not always the same size from arch to arch: causing amd64 svg/test-svg failures --- src/svg/stringstream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/svg/stringstream.cpp b/src/svg/stringstream.cpp index cdb29c865..65c01e7b6 100644 --- a/src/svg/stringstream.cpp +++ b/src/svg/stringstream.cpp @@ -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; -- 2.30.2