diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2017-06-15 17:52:55 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2017-06-15 17:52:55 +0200 |
commit | 23e806c21e6e01999163c892635c6dea9d788daa (patch) | |
tree | 8d5911ae9f9be6301f83c1730b90916c62fdfe4a /session.c | |
parent | d9a77d2e35f7d5fde1f5c4033e04e3676e25fdd9 (diff) | |
download | libsigrokdecode-23e806c21e6e01999163c892635c6dea9d788daa.tar.gz libsigrokdecode-23e806c21e6e01999163c892635c6dea9d788daa.zip |
session.c: Fix a compiler warning on Mac OS X.
session.c:203:22: warning: format specifies type 'unsigned long long'
but the argument has type 'guint64' (aka 'unsigned long') [-Wformat]
sess->session_id, g_variant_get_uint64(data));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
libsigrokdecode-internal.h:103:44: note: expanded from macro 'srd_dbg'
#define srd_dbg(...) srd_log(SRD_LOG_DBG, __VA_ARGS__)
^~~~~~~~~~~
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -199,7 +199,7 @@ SRD_API int srd_session_metadata_set(struct srd_session *sess, int key, return SRD_ERR_ARG; } - srd_dbg("Setting session %d samplerate to %"PRIu64".", + srd_dbg("Setting session %d samplerate to %"G_GUINT64_FORMAT".", sess->session_id, g_variant_get_uint64(data)); ret = SRD_OK; |