datetime: Fix compile-time warning

This commit is contained in:
Bastien Nocera 2010-09-20 18:21:03 +01:00
parent d1e7dad2df
commit 1bac073929

View file

@ -141,7 +141,7 @@ tz_location_free (TzLocation *loc)
void
tz_db_free (TzDB *db)
{
g_ptr_array_foreach (db->locations, tz_location_free, NULL);
g_ptr_array_foreach (db->locations, (GFunc) tz_location_free, NULL);
g_ptr_array_free (db->locations, TRUE);
g_free (db);
}