[sysprof] tests: use G_GUINT64_FORMAT



commit 4d8c1b2a46dff6445a452eabd8d387ed0a9c61bd
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 19 14:33:04 2018 -0800

    tests: use G_GUINT64_FORMAT

 tests/test-kallsyms.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-kallsyms.c b/tests/test-kallsyms.c
index 1395adc..f07c53a 100644
--- a/tests/test-kallsyms.c
+++ b/tests/test-kallsyms.c
@@ -27,7 +27,7 @@ main (gint argc,
       g_assert (addr != 0);
       g_assert (type != 0);
 
-      g_print ("%s %lx\n", name, addr);
+      g_print ("%s %"G_GUINT64_FORMAT"x\n", name, addr);
     }
 
   return EXIT_SUCCESS;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]