Skip to content

Commit

Permalink
Fix some type warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sargon committed Dec 4, 2010
1 parent 1cc3b82 commit fad44e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eggtraymanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,13 +580,13 @@ egg_tray_manager_get_child_title (EggTrayManager *manager,
return NULL;
}

if (!g_utf8_validate (val, nitems, NULL))
if (!g_utf8_validate ((const gchar*) val, nitems, NULL))
{
XFree (val);
return NULL;
}

retval = g_strndup (val, nitems);
retval = g_strndup ((const gchar*) val, nitems);

XFree (val);

Expand Down

0 comments on commit fad44e4

Please sign in to comment.