From 83dcdd840483c9183fcd500b0f63d1d011da90bf Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 16 Jan 2014 21:21:55 -0600 Subject: fix minor -Wpedantic warnings --- src/planner-eds.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/planner-eds.cpp b/src/planner-eds.cpp index 6abaf3e..275a29e 100644 --- a/src/planner-eds.cpp +++ b/src/planner-eds.cpp @@ -269,7 +269,7 @@ private: if (default_timezone == nullptr) // maybe str is a tzid? default_timezone = icaltimezone_get_builtin_timezone_from_tzid(tz); - g_debug("default_timezone is %p", default_timezone); + g_debug("default_timezone is %p", (void*)default_timezone); } /** @@ -277,7 +277,7 @@ private: **/ std::shared_ptr main_task(new Task(this, func), [](Task* task){ - g_message("time to delete task %p", task); + g_message("time to delete task %p", (void*)task); task->func(task->appointments); }); @@ -293,7 +293,7 @@ private: // start a new subtask to enumerate all the components in this client. auto extension = e_source_get_extension(source, E_SOURCE_EXTENSION_CALENDAR); const auto color = e_source_selectable_get_color(E_SOURCE_SELECTABLE(extension)); - g_message("calling e_cal_client_generate_instances for %p", client); + g_message("calling e_cal_client_generate_instances for %p", (void*)client); e_cal_client_generate_instances(client, begin, end, -- cgit v1.2.3