seed r521 - trunk/modules/readline



Author: hortont
Date: Sat Dec 20 08:37:24 2008
New Revision: 521
URL: http://svn.gnome.org/viewvc/seed?rev=521&view=rev

Log:
Fix readline build warning.


Modified:
   trunk/modules/readline/seed-readline.c

Modified: trunk/modules/readline/seed-readline.c
==============================================================================
--- trunk/modules/readline/seed-readline.c	(original)
+++ trunk/modules/readline/seed-readline.c	Sat Dec 20 08:37:24 2008
@@ -125,15 +125,15 @@
 
 	namespace_ref = seed_make_object(eng->context, 0, 0);
 
-	seed_create_function(eng->context, 
+	seed_create_function(eng->context,
 						 "readline",
-						 seed_readline,
-						 namespace_ref);
+						 (SeedFunctionCallback)seed_readline,
+						 (SeedObject)namespace_ref);
 
-	seed_create_function(eng->context, 
+	seed_create_function(eng->context,
 						 "bind",
-						 seed_readline_bind,
-						 namespace_ref);
+						 (SeedFunctionCallback)seed_readline_bind,
+						 (SeedObject)namespace_ref);
 	
 	seed_object_set_property(eng->context, 
 							 eng->global, "readline", namespace_ref);



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