diff options
| author | Kees Cook <kees@outflux.net> | 2007-01-13 07:56:52 +0000 |
|---|---|---|
| committer | keescook <keescook@users.sourceforge.net> | 2007-01-13 07:56:52 +0000 |
| commit | 613d9d3b1f1c94829433467cb254bb1cc0fa2a95 (patch) | |
| tree | f0033f55fd9ea87eedbdd6868f8a1a30db87d384 /src/svg/stringstream.cpp | |
| parent | fixes for style-test prefs crashes (diff) | |
| download | inkscape-613d9d3b1f1c94829433467cb254bb1cc0fa2a95.tar.gz inkscape-613d9d3b1f1c94829433467cb254bb1cc0fa2a95.zip | |
long is not always the same size from arch to arch: causing amd64 svg/test-svg failures
(bzr r2203)
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; |
