diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-07-10 21:57:45 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-07-10 21:57:45 -0400 |
commit | 436dbe77444f54bb8fcf7e55085dc60e1fc627a3 (patch) | |
tree | 22b285765c844b05816f965a034e16e50114f44c /gobject | |
parent | 7c517bf3501ae68c4a87c8a126955281ad2393b2 (diff) |
Don't test negative values in ulong conversions
This is failing on 32bit build slaves.
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/tests/param.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gobject/tests/param.c b/gobject/tests/param.c index 6443ea3a2..53d51593b 100644 --- a/gobject/tests/param.c +++ b/gobject/tests/param.c @@ -220,7 +220,7 @@ test_value_transform (void) g_value_unset (&src); \ g_value_unset (&dest); - CHECK_ULONG_CONVERSION(G_TYPE_CHAR, char, -124) + CHECK_ULONG_CONVERSION(G_TYPE_CHAR, char, 124) CHECK_ULONG_CONVERSION(G_TYPE_CHAR, char, 124) CHECK_ULONG_CONVERSION(G_TYPE_UCHAR, uchar, 0) CHECK_ULONG_CONVERSION(G_TYPE_UCHAR, uchar, 255) @@ -228,9 +228,9 @@ test_value_transform (void) CHECK_ULONG_CONVERSION(G_TYPE_INT, int, 12345) CHECK_ULONG_CONVERSION(G_TYPE_UINT, uint, 0) CHECK_ULONG_CONVERSION(G_TYPE_UINT, uint, 12345) - CHECK_ULONG_CONVERSION(G_TYPE_LONG, long, -12345678) + CHECK_ULONG_CONVERSION(G_TYPE_LONG, long, 12345678) CHECK_ULONG_CONVERSION(G_TYPE_ULONG, ulong, 12345678) - CHECK_ULONG_CONVERSION(G_TYPE_INT64, int64, -12345678) + CHECK_ULONG_CONVERSION(G_TYPE_INT64, int64, 12345678) CHECK_ULONG_CONVERSION(G_TYPE_UINT64, uint64, 12345678) CHECK_ULONG_CONVERSION(G_TYPE_FLOAT, float, 12345678) CHECK_ULONG_CONVERSION(G_TYPE_DOUBLE, double, 12345678) |