From 113d9d166a6d633a7f81264a02f0336d7c447254 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 2 Jul 2020 11:23:51 +0100 Subject: [PATCH] libsysprof-capture: Use C-standard printf modifiers Signed-off-by: Philip Withnall Helps: #40 --- src/libsysprof-capture/sysprof-capture-types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsysprof-capture/sysprof-capture-types.h b/src/libsysprof-capture/sysprof-capture-types.h index ae7f7ff8..c5228395 100644 --- a/src/libsysprof-capture/sysprof-capture-types.h +++ b/src/libsysprof-capture/sysprof-capture-types.h @@ -79,7 +79,7 @@ SYSPROF_BEGIN_DECLS # define SYSPROF_ALIGNED_END(_N) __attribute__((aligned ((_N)))) #endif -#define SYSPROF_CAPTURE_ADDRESS_FORMAT "0x%016" G_GINT64_MODIFIER "x" +#define SYSPROF_CAPTURE_ADDRESS_FORMAT "0x%016" PRIx64 #if GLIB_SIZEOF_VOID_P == 8 # define SYSPROF_CAPTURE_JITMAP_MARK SYSPROF_UINT64_CONSTANT(0xE000000000000000)