mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
13 lines
595 B
Diff
13 lines
595 B
Diff
diff --git a/plugins/colorfilter/src/colorfilter.cpp b/plugins/colorfilter/src/colorfilter.cpp
|
|
index ca7eb41..b7004b5 100644
|
|
--- a/plugins/colorfilter/src/colorfilter.cpp
|
|
+++ b/plugins/colorfilter/src/colorfilter.cpp
|
|
@@ -262,7 +262,7 @@ ColorfilterScreen::loadFilters ()
|
|
loaded = 0;
|
|
for (int i = 0; i < count; i++)
|
|
{
|
|
- name = CompString (basename (filters.at (i).s ().c_str ()));
|
|
+ name = CompString (basename ((char*)filters.at (i).s ().c_str ()));
|
|
if (boost::algorithm::ends_with (name, ".frag"))
|
|
name.erase (name.end () - 5, name.end ());
|
|
file = filters.at (i).s ();
|