diff --git a/src/libsysprof-capture/sysprof-capture-types.h b/src/libsysprof-capture/sysprof-capture-types.h index 29667ef0..d95d6b3f 100644 --- a/src/libsysprof-capture/sysprof-capture-types.h +++ b/src/libsysprof-capture/sysprof-capture-types.h @@ -73,12 +73,12 @@ G_BEGIN_DECLS # define SYSPROF_ALIGNED_END(_N) __attribute__((aligned ((_N)))) #endif +#define SYSPROF_CAPTURE_ADDRESS_FORMAT "0x%016"G_GINT64_MODIFIER"x" + #if GLIB_SIZEOF_VOID_P == 8 # define SYSPROF_CAPTURE_JITMAP_MARK G_GUINT64_CONSTANT(0xE000000000000000) -# define SYSPROF_CAPTURE_ADDRESS_FORMAT "0x%016lx" #elif GLIB_SIZEOF_VOID_P == 4 # define SYSPROF_CAPTURE_JITMAP_MARK G_GUINT64_CONSTANT(0xE0000000) -# define SYSPROF_CAPTURE_ADDRESS_FORMAT "0x%016llx" #else #error Unknown GLIB_SIZEOF_VOID_P #endif