diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2024-02-06 10:02:03 +0200 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2024-02-06 08:03:56 +0000 |
commit | 3972736f91f26193818eb6c3e7fa215d658551c6 (patch) | |
tree | 26b74b41d8da636d4b8f93d2b71ecf52198e3cf3 /subprojects | |
parent | 404e4ca626d1238c00f79ab363784b694ce325a6 (diff) |
utils: Remove unnecessary const-removal casts from gst_util_filename_compare()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6063>
Diffstat (limited to 'subprojects')
-rw-r--r-- | subprojects/gstreamer/gst/gstutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/gstreamer/gst/gstutils.c b/subprojects/gstreamer/gst/gstutils.c index 9ca4c9140d..b45fb2b91d 100644 --- a/subprojects/gstreamer/gst/gstutils.c +++ b/subprojects/gstreamer/gst/gstutils.c @@ -4819,8 +4819,8 @@ gst_util_filename_compare (const gchar * a, const gchar * b) gint ret; /* Filenames in GLib are only guaranteed to be UTF-8 on Windows */ - a_utf8 = g_filename_to_utf8 ((gchar *) a, -1, NULL, NULL, NULL); - b_utf8 = g_filename_to_utf8 ((gchar *) b, -1, NULL, NULL, NULL); + a_utf8 = g_filename_to_utf8 (a, -1, NULL, NULL, NULL); + b_utf8 = g_filename_to_utf8 (b, -1, NULL, NULL, NULL); if (a_utf8 == NULL || b_utf8 == NULL) { return strcmp (a, b); |