[rep-gtk] fix two miss-signed args



commit b359bf3039b97a9ee8a6a7055a213d4b1ccfe381
Author: chrisb <zanghar freenet de>
Date:   Thu Jul 30 20:44:35 2009 +0200

    fix two miss-signed args

 ChangeLog   |    2 ++
 rep-gtk.c   |    2 +-
 rep-types.c |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0d94179..8928f1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
 	* gtk-compat.c
 	* gtk.defs: added gtk_color_button_get_color_interp (outputs a GdkColor in 6 digits hexformat)
 
+	* rep-types.c: fix two miss-signed args
+
 2009-07-29  Christopher Bratusek <zanghar freenet de>
 	* gtk.defs: gtk+ 2.12 API added:
 	*********** gtkbutton.h ***********
diff --git a/rep-gtk.c b/rep-gtk.c
index 3318c3f..1fe8e76 100644
--- a/rep-gtk.c
+++ b/rep-gtk.c
@@ -1987,7 +1987,7 @@ DEFUN ("g-object-list", Fg_object_list,
 
   obj = GOBJ_PROXY(scm_obj)->obj;
 
-  props = g_object_class_list_properties (G_OBJECT_GET_CLASS (obj), &nprops);
+  props = g_object_class_list_properties (G_OBJECT_GET_CLASS (obj), (gpointer) &nprops);
 
   if (props != 0)
     {
diff --git a/rep-types.c b/rep-types.c
index 04c77a6..587b849 100644
--- a/rep-types.c
+++ b/rep-types.c
@@ -128,7 +128,7 @@ sgtk_char_to_rep (gchar c)
 char *
 sgtk_rep_to_string (repv obj)
 {
-    return rep_STRINGP (obj) ? rep_STR (obj) : (unsigned char *)"";
+    return rep_STRINGP (obj) ? rep_STR (obj) : (gpointer) (char *)"";
 }
 
 repv



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