mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +00:00
utils: Remove unnecessary const-removal casts from gst_util_filename_compare()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6063>
This commit is contained in:
parent
404e4ca626
commit
3972736f91
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue