diff options
Diffstat (limited to 'src/xml/repr-util.cpp')
| -rw-r--r-- | src/xml/repr-util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp index 83231e5da..42b957d43 100644 --- a/src/xml/repr-util.cpp +++ b/src/xml/repr-util.cpp @@ -319,7 +319,7 @@ double sp_repr_get_double_attribute(Inkscape::XML::Node *repr, char const *key, return g_ascii_strtod(result, NULL); } -int sp_repr_get_int_attribute(Inkscape::XML::Node *repr, char const *key, int def) +long long int sp_repr_get_int_attribute(Inkscape::XML::Node *repr, char const *key, long long int def) { char *result; @@ -330,7 +330,7 @@ int sp_repr_get_int_attribute(Inkscape::XML::Node *repr, char const *key, int de if (result == NULL) return def; - return atoi(result); + return atoll(result); } /** |
