[glib] tests: fix a test on 32-bit builds
- From: Allison Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] tests: fix a test on 32-bit builds
- Date: Thu, 26 Nov 2015 14:27:03 +0000 (UTC)
commit a266ac62ea1e4deb7edd9332b87b29097607d7c7
Author: Allison Ryan Lortie <desrt desrt ca>
Date: Thu Nov 26 09:25:39 2015 -0500
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.
glib/tests/overflow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/overflow.c b/glib/tests/overflow.c
index f241abd..5c68d95 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]