aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mono/mono-plugin.c2
-rw-r--r--plugins/profiler/profiler.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mono/mono-plugin.c b/plugins/mono/mono-plugin.c
index 76b1e42da1..ae5f199c46 100644
--- a/plugins/mono/mono-plugin.c
+++ b/plugins/mono/mono-plugin.c
@@ -159,7 +159,7 @@ epm_invoke(EPlugin *ep, const gchar *name, gpointer data)
if (res) {
gpointer *p = mono_object_unbox(res);
- d(printf("mono method returned '%p' %ld\n", *p, (long gint)*p));
+ d(printf("mono method returned '%p' %ld\n", *p, (glong)*p));
return *p;
} else
return NULL;
diff --git a/plugins/profiler/profiler.c b/plugins/profiler/profiler.c
index 49e1dffda4..c6843d349b 100644
--- a/plugins/profiler/profiler.c
+++ b/plugins/profiler/profiler.c
@@ -40,7 +40,7 @@ org_gnome_evolution_profiler_event(EPlugin *ep, EProfileEventTarget *t)
if (!fp) {
gchar *name;
- name = g_strdup_printf("eprofile.%ld", (long gint)getpid());
+ name = g_strdup_printf("eprofile.%ld", (glong)getpid());
fp = fopen(name, "w");
if (fp)
fprintf(stderr, "Generating profiling data in `%s'\n", name);