diff options
author | Matthew Waters <matthew@centricular.com> | 2019-08-30 14:15:43 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2019-08-30 14:16:54 +1000 |
commit | 02814a43da924eeda13f32bdb19b5e2a5442601a (patch) | |
tree | 10863569447eb31c137b99bd01c8e6918ddc98f3 /sys/decklink | |
parent | fa83f086be499177ebcfd63ec1aac2c0838402b7 (diff) | |
download | gstreamer-plugins-bad-02814a43da924eeda13f32bdb19b5e2a5442601a.tar.gz |
decklink: fix macos werror build
../sys/decklink/gstdecklink.cpp:1703:7: error: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Werror,-Wformat]
persistent_id);
^~~~~~~~~~~~~~
/Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gstinfo.h:1070:87: note: expanded from macro 'GST_DEBUG'
#define GST_DEBUG(...) GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_DEBUG, NULL, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gstinfo.h:646:31: note: expanded from macro 'GST_CAT_LEVEL_LOG'
(GObject *) (object), __VA_ARGS__); \
^~~~~~~~~~~
Diffstat (limited to 'sys/decklink')
-rw-r--r-- | sys/decklink/gstdecklink.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp index 220665320..a9338eb00 100644 --- a/sys/decklink/gstdecklink.cpp +++ b/sys/decklink/gstdecklink.cpp @@ -1700,7 +1700,7 @@ Device * gst_decklink_find_device_by_persistent_id (int64_t persistent_id) { GST_DEBUG ("Searching Device by persistent ID %" G_GINT64_FORMAT, - persistent_id); + (gint64) persistent_id); for (guint index = 0; index < devices->len; index++) { Device *device = (Device *) g_ptr_array_index (devices, index); |