Do explicit casts to avoid warnings.
if (ih_event_is_paired_move (event) && sub->pair_moves)
{
- char *parent_dir = _ip_get_path_for_wd (event->pair->wd);
+ char *parent_dir = (char *) _ip_get_path_for_wd (event->pair->wd);
fullpath = _ih_fullpath_from_event (event->pair, parent_dir);
other = g_file_new_for_path (fullpath);
g_free (fullpath);
gpointer data_fun = g_memory_output_stream_get_data (G_MEMORY_OUTPUT_STREAM (mo));
gpointer data_prop;
g_object_get (mo, "data", &data_prop, NULL);
- g_assert_cmphex (data_fun, ==, data_prop);
+ g_assert_cmphex ((guint) data_fun, ==, (guint) data_prop);
g_object_unref (o);
g_object_unref (mo);
GTimeVal ref_date, date;
gchar *tmp_string = NULL, *tmp_string_2, *string, *date_str;
guint i;
- gchar *tz;
+ const gchar *tz;
if (g_test_verbose())
g_print ("checking string chunks...");