From 3972736f91f26193818eb6c3e7fa215d658551c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 6 Feb 2024 10:02:03 +0200 Subject: [PATCH] utils: Remove unnecessary const-removal casts from gst_util_filename_compare() Part-of: --- subprojects/gstreamer/gst/gstutils.c | 4 ++-- 1 file 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);