File: gtk2-c89-2.patch

package info (click to toggle)
gtk%2B2.0 2.24.33-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 124,856 kB
  • sloc: ansic: 574,091; makefile: 5,172; sh: 4,624; xml: 1,193; python: 1,117; perl: 749; awk: 49; cpp: 34
file content (22 lines) | stat: -rw-r--r-- 623 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Cosimo Cecchi <cosimoc@gnome.org>
Date: Mon, 18 Feb 2013 19:37:20 -0500
Subject: gtk2-c89-2

immodule: fix a GCC warning
---
 gtk/gtkimmodule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index 1fcb17a..445b2be 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -662,7 +662,7 @@ lookup_immodule (gchar **immodules_list)
 	  gboolean found;
 	  gchar *context_id;
 	  found = g_hash_table_lookup_extended (contexts_hash, *immodules_list,
-						&context_id, NULL);
+						(gpointer *) &context_id, NULL);
 	  if (found)
 	    return context_id;
 	}