[sysprof] tests: fix 32-bit build for %lx usage
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] tests: fix 32-bit build for %lx usage
- Date: Sat, 3 Aug 2019 22:45:02 +0000 (UTC)
commit 5d26daf009145f526b010d0e3b3ec038183542c2
Author: Christian Hergert <chergert redhat com>
Date: Sat Aug 3 15:44:48 2019 -0700
tests: fix 32-bit build for %lx usage
src/tests/test-resolvers.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/tests/test-resolvers.c b/src/tests/test-resolvers.c
index f446476..8ba2eac 100644
--- a/src/tests/test-resolvers.c
+++ b/src/tests/test-resolvers.c
@@ -66,7 +66,7 @@ main (gint argc,
if (sysprof_address_is_context_switch (addr, &context))
{
- g_print (" %02d: %016lx: Context Switch\n", a, addr);
+ g_print (" %02d: %016"G_GINT64_MODIFIER"x: Context Switch\n", a, addr);
last_context = context;
continue;
}
@@ -86,14 +86,14 @@ main (gint argc,
if (symbol != NULL)
{
- g_print (" %02d: %016lx: %s\n", a, addr, symbol);
+ g_print (" %02d: %016"G_GINT64_MODIFIER"x: %s\n", a, addr, symbol);
found = TRUE;
break;
}
}
if (!found)
- g_print (" %02d: %016lx: \n", a, addr);
+ g_print (" %02d: %016"G_GINT64_MODIFIER"x: \n", a, addr);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]