libvisual: workaround clang warning
authorJordan Petridis <jordan@centricular.com>
Thu, 10 Dec 2020 17:06:00 +0000 (19:06 +0200)
committerJordan Petridіs <jpetridis@gnome.org>
Mon, 14 Dec 2020 11:37:56 +0000 (11:37 +0000)
commitef884a2c5cfd832bf48699846bd49bd4d4d767d7
tree8be4e21dc48421f64d21b8e9eaacc1f429142faf
parent56e05f63f5815c72d831e646786a68afeb01960d
libvisual: workaround clang warning

libvisual api expects a priv data pointer to be passed, though we know its
going to be `GstDebugLevel`.

```
../subprojects/gst-plugins-base/ext/libvisual/plugin.c:33:39: error: cast to smaller integer type 'GstDebugLevel' from 'void *' [-Werror,-Wvoid-pointer-to-enum-cast]
 GST_CAT_LEVEL_LOG (libvisual_debug, (GstDebugLevel) (priv), NULL, "%s - %s",
```

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/975>
ext/libvisual/plugin.c