From: keescook Date: Sat, 13 Jan 2007 07:56:52 +0000 (+0000) Subject: long is not always the same size from arch to arch: causing amd64 svg/test-svg failures X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2b75308520def20614628c3e7bebf857e4432898;p=inkscape.git long is not always the same size from arch to arch: causing amd64 svg/test-svg failures --- 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;