diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-01 23:09:52 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-01 23:09:52 +0000 |
commit | df91ff22c83eb726e7f20bf714655ad1ea24832d (patch) | |
tree | 0e4eb281aed18ca23e06491ea970cee2736aaeda /tests/test-common.c | |
parent | f4d37b82f71ab52eec64b7dbe0c06f683e2b5eca (diff) | |
parent | 911d8d59344978ed10b6fee2c8728ce75137fbdb (diff) | |
download | pango-df91ff22c83eb726e7f20bf714655ad1ea24832d.tar.gz |
Merge branch 'tests-fixes' into 'master'
Tests fixes
See merge request GNOME/pango!353
Diffstat (limited to 'tests/test-common.c')
-rw-r--r-- | tests/test-common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-common.c b/tests/test-common.c index a6339415..3b8880e3 100644 --- a/tests/test-common.c +++ b/tests/test-common.c @@ -225,7 +225,7 @@ attribute_from_string (const char *string) { char *s, *p; PangoAttribute *attr; - long start, end; + long long start, end; GEnumClass *class; int i; PangoColor color; @@ -234,14 +234,14 @@ attribute_from_string (const char *string) g_assert (*s == '['); s++; - start = strtol (s, &p, 10); + start = strtoll (s, &p, 10); g_assert (p > s); g_assert (*p == ','); s = p + 1; g_assert (start >= 0); - end = strtol (s, &p, 10); + end = strtoll (s, &p, 10); g_assert (p > s); g_assert (*p == ']'); s = p + 1; |