mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 00:28:21 +00:00
cast -> check, since we don't need the result. This also removes a warning when it fails, and since we check for that...
Original commit message from CVS: cast -> check, since we don't need the result. This also removes a warning when it fails, and since we check for that ourselves, that's a good thing.
This commit is contained in:
parent
5d1e64e379
commit
2cd09b6c68
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ gst_interface_check (gpointer from,
|
||||||
GstInterface *iface;
|
GstInterface *iface;
|
||||||
|
|
||||||
/* check cast, return FALSE if it fails, don't give a warning... */
|
/* check cast, return FALSE if it fails, don't give a warning... */
|
||||||
if (!G_TYPE_CHECK_INSTANCE_CAST (from, type, GstInterface)) {
|
if (!G_TYPE_CHECK_INSTANCE_TYPE (from, type)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue