aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-16 21:21:55 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-16 21:21:55 -0600
commit83dcdd840483c9183fcd500b0f63d1d011da90bf (patch)
tree3be2d79fca4297febd435272263cca0e875d6890 /src
parent06a5132025ba2ab43de9d1d583a81d8e0b326da8 (diff)
downloadayatana-indicator-datetime-83dcdd840483c9183fcd500b0f63d1d011da90bf.tar.gz
ayatana-indicator-datetime-83dcdd840483c9183fcd500b0f63d1d011da90bf.tar.bz2
ayatana-indicator-datetime-83dcdd840483c9183fcd500b0f63d1d011da90bf.zip
fix minor -Wpedantic warnings
Diffstat (limited to 'src')
-rw-r--r--src/planner-eds.cpp6
1 files changed, 3 insertions, 3 deletions
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<Task> 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,