diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-06-30 00:07:01 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-06-30 00:07:01 +0100 |
commit | 234ba46cd95026e763d6a8d7c19cd561c0520ee6 (patch) | |
tree | fbf232863b72929c306f2d1a7a4891a796b25d60 /tests | |
parent | 189edcc649c36e4a1c814822678472c4aff934e5 (diff) |
gvariant: Explicitly use fixed-width GLib types in error messages
Otherwise we can end up with error messages which recommend using a C
standard ‘long’, whose width varies between architectures. Using that is
a bad idea.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gvariant-get.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gvariant-get.c b/tests/gvariant-get.c index f4f744a..0f0d965 100644 --- a/tests/gvariant-get.c +++ b/tests/gvariant-get.c @@ -36,7 +36,7 @@ } /* - * Expected a GVariant variadic argument of type 'int *' but there wasn’t one. + * Expected a GVariant variadic argument of type 'gint32 *' (aka 'int *') but there wasn’t one. * g_variant_get (existing_variant, "invalid"); * ^ */ @@ -466,7 +466,7 @@ } /* - * Expected a GVariant variadic argument of type 'long *' but saw one of type 'gint32 *' (aka 'int *'). + * Expected a GVariant variadic argument of type 'gint64 *' (aka 'long *') but saw one of type 'gint32 *' (aka 'int *'). * g_variant_get (existing_variant, "x", &some_int); * ^ */ @@ -484,7 +484,7 @@ } /* - * Expected a GVariant variadic argument of type 'long *' but saw one of type 'guint64 *' (aka 'unsigned long *'). + * Expected a GVariant variadic argument of type 'gint64 *' (aka 'long *') but saw one of type 'guint64 *' (aka 'unsigned long *'). * g_variant_get (existing_variant, "x", &some_uint); * ^ */ |