ShellApp: Fix warning with call to g_strv_length()
There is no implicit cast from const char * const * to char **.
This commit is contained in:
parent
2864c360bc
commit
46caf6d673
@ -1322,7 +1322,7 @@ shell_app_init_search_data (ShellApp *app)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
app->casefolded_keywords = g_new0 (char*, g_strv_length (keywords) + 1);
|
app->casefolded_keywords = g_new0 (char*, g_strv_length ((char **)keywords) + 1);
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
while (keywords[i])
|
while (keywords[i])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user