[evolution] Bug 586332 - Build error (long gint)



commit d5f9b1cad71656bbf79e70038e3c3d13a04d3be5
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Jun 18 23:43:10 2009 -0400

    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 76b1e42..ae5f199 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 49e1dff..c6843d3 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]