[goffice] Compilation: silence warning.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Compilation: silence warning.
- Date: Tue, 13 Sep 2011 18:47:26 +0000 (UTC)
commit 2f7c425349ad5160b645d1a865176874d285a2b0
Author: Morten Welinder <terra gnome org>
Date: Tue Sep 13 14:47:10 2011 -0400
Compilation: silence warning.
goffice/gtk/go-format-sel.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/goffice/gtk/go-format-sel.c b/goffice/gtk/go-format-sel.c
index a6162f0..e254527 100644
--- a/goffice/gtk/go-format-sel.c
+++ b/goffice/gtk/go-format-sel.c
@@ -570,7 +570,9 @@ fmt_dialog_init_fmt_list (GOFormatSel *gfs, char const *const *formats,
0, fmt, -1);
g_free (fmt);
if (fhash)
- g_hash_table_insert (fhash, *formats, GINT_TO_POINTER (1));
+ g_hash_table_insert (fhash,
+ (gpointer)(*formats),
+ GINT_TO_POINTER (1));
/* Magic formats are fully defined by their magic. */
found = cur_magic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]