]> sigrok.org Git - libsigrokdecode.git/commit
session.c: Fix a compiler warning on Mac OS X.
authorUwe Hermann <redacted>
Thu, 15 Jun 2017 15:52:55 +0000 (17:52 +0200)
committerUwe Hermann <redacted>
Thu, 15 Jun 2017 15:52:55 +0000 (17:52 +0200)
commit23e806c21e6e01999163c892635c6dea9d788daa
tree8d5911ae9f9be6301f83c1730b90916c62fdfe4a
parentd9a77d2e35f7d5fde1f5c4033e04e3676e25fdd9
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__)
                                                ^~~~~~~~~~~
session.c