aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-19 11:43:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-19 11:43:10 +0800
commitd5f9b1cad71656bbf79e70038e3c3d13a04d3be5 (patch)
tree066d6ab3078ff4ebc48512d06c035c2e5e8f6c51
parent547e123d2777bd3beba36e74e018efb590ed44d4 (diff)
downloadgsoc2013-evolution-d5f9b1cad71656bbf79e70038e3c3d13a04d3be5.tar
gsoc2013-evolution-d5f9b1cad71656bbf79e70038e3c3d13a04d3be5.tar.gz
gsoc2013-evolution-d5f9b1cad71656bbf79e70038e3c3d13a04d3be5.tar.bz2
gsoc2013-evolution-d5f9b1cad71656bbf79e70038e3c3d13a04d3be5.tar.lz
gsoc2013-evolution-d5f9b1cad71656bbf79e70038e3c3d13a04d3be5.tar.xz
gsoc2013-evolution-d5f9b1cad71656bbf79e70038e3c3d13a04d3be5.tar.zst
gsoc2013-evolution-d5f9b1cad71656bbf79e70038e3c3d13a04d3be5.zip
Bug 586332 - Build error (long gint)
-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);