[sysprof: 35/63] libsysprof-capture: Use C-standard printf modifiers



commit 113d9d166a6d633a7f81264a02f0336d7c447254
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Jul 2 11:23:51 2020 +0100

    libsysprof-capture: Use C-standard printf modifiers
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    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 ae7f7ff..c522839 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)


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