diff options
Diffstat (limited to 'src/svg/stringstream.cpp')
| -rw-r--r-- | src/svg/stringstream.cpp | 4 |
1 files 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; |
