perl-Glib r1076 - trunk



Author: tsch
Date: Thu Feb  5 14:25:55 2009
New Revision: 1076
URL: http://svn.gnome.org/viewvc/perl-Glib?rev=1076&view=rev

Log:
(gperl_callback_invoke): Use the <"%s", pointer> pattern when passing an error
string pointer to croak().


Modified:
   trunk/ChangeLog
   trunk/GClosure.xs

Modified: trunk/GClosure.xs
==============================================================================
--- trunk/GClosure.xs	(original)
+++ trunk/GClosure.xs	Thu Feb  5 14:25:55 2009
@@ -390,7 +390,7 @@
 						   error);
 				g_free (error);
 				/* this won't return */
-				croak (SvPV_nolen (errstr));
+				croak ("%s", SvPV_nolen (errstr));
 			}
 			sv = gperl_sv_from_value (&v);
 			if (!sv) {



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