decklink: fix macos werror build
authorMatthew Waters <matthew@centricular.com>
Fri, 30 Aug 2019 04:15:43 +0000 (14:15 +1000)
committerMatthew Waters <matthew@centricular.com>
Fri, 30 Aug 2019 04:16:54 +0000 (14:16 +1000)
commit02814a43da924eeda13f32bdb19b5e2a5442601a
tree10863569447eb31c137b99bd01c8e6918ddc98f3
parentfa83f086be499177ebcfd63ec1aac2c0838402b7
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__);                             \
                              ^~~~~~~~~~~
sys/decklink/gstdecklink.cpp