mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
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__); \ ^~~~~~~~~~~
This commit is contained in:
parent
fa83f086be
commit
02814a43da
1 changed files with 1 additions and 1 deletions
|
@ -1700,7 +1700,7 @@ Device *
|
||||||
gst_decklink_find_device_by_persistent_id (int64_t persistent_id)
|
gst_decklink_find_device_by_persistent_id (int64_t persistent_id)
|
||||||
{
|
{
|
||||||
GST_DEBUG ("Searching Device by persistent ID %" G_GINT64_FORMAT,
|
GST_DEBUG ("Searching Device by persistent ID %" G_GINT64_FORMAT,
|
||||||
persistent_id);
|
(gint64) persistent_id);
|
||||||
|
|
||||||
for (guint index = 0; index < devices->len; index++) {
|
for (guint index = 0; index < devices->len; index++) {
|
||||||
Device *device = (Device *) g_ptr_array_index (devices, index);
|
Device *device = (Device *) g_ptr_array_index (devices, index);
|
||||||
|
|
Loading…
Reference in a new issue