summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllison Ryan Lortie <desrt@desrt.ca>2015-11-26 09:25:39 -0500
committerAllison Ryan Lortie <desrt@desrt.ca>2015-11-26 09:26:45 -0500
commita266ac62ea1e4deb7edd9332b87b29097607d7c7 (patch)
tree4ff719e2c1857944a8c24370242e27a292557c13
parent978779044844f9ff793c10395443639cac964e31 (diff)
downloadglib-a266ac62ea1e4deb7edd9332b87b29097607d7c7.tar.gz
tests: fix a test on 32-bit builds
We were trying to squeeze 64-bit test vectors into gsize, which is fine on 64bit systems but doesn't work very well on 32-bit. Change that to a guint64.
-rw-r--r--glib/tests/overflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/overflow.c b/glib/tests/overflow.c
index f241abd92..5c68d9550 100644
--- a/glib/tests/overflow.c
+++ b/glib/tests/overflow.c
@@ -16,7 +16,7 @@
typedef struct
{
gboolean success;
- gsize c, a, b;
+ guint64 c, a, b;
} Case;
static void