diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-06-20 08:28:34 -0700 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-07-04 11:17:21 -0400 |
commit | 7c197e66c36ef8b57f86edb71ece959073be062f (patch) | |
tree | b2d277e4123b0ad74732921801c09197f4470eea /tests | |
parent | fa511dadd9bfd3f328eedf25ed35bfe24416d0cf (diff) | |
download | pango-7c197e66c36ef8b57f86edb71ece959073be062f.tar.gz |
Make testattributes work on Windows
Using %p is not a good idea here, since its output
is platform-dependent. Thankfully, its easily avoided.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testattributes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testattributes.c b/tests/testattributes.c index ef7eea20..1b1c8dac 100644 --- a/tests/testattributes.c +++ b/tests/testattributes.c @@ -113,7 +113,7 @@ my_attribute_data_equal (gconstpointer data1, static char * my_attribute_data_serialize (gconstpointer data) { - return g_strdup_printf ("%p", data); + return g_strdup_printf ("%#x", GPOINTER_TO_UINT (data)); } static void |