From d5f9b1cad71656bbf79e70038e3c3d13a04d3be5 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 18 Jun 2009 23:43:10 -0400 Subject: Bug 586332 - Build error (long gint) --- plugins/mono/mono-plugin.c | 2 +- plugins/profiler/profiler.c | 2 +- 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); -- cgit v1.2.3