[perl-Gtk2] Hush a compiler warning



commit eaf5f1cdef3727def78ac5324b82877a1f08bb05
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Sat Apr 21 18:39:30 2012 +0200

    Hush a compiler warning

 xs/GtkTreeModel.xs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xs/GtkTreeModel.xs b/xs/GtkTreeModel.xs
index 7d73213..e5d75fc 100644
--- a/xs/GtkTreeModel.xs
+++ b/xs/GtkTreeModel.xs
@@ -1409,7 +1409,7 @@ gtk_tree_model_rows_reordered (tree_model, path, iter, ...)
 	if (items - 3 != n)
 		croak ("rows_reordered expects a list of as many indices"
 		       " as the selected node of the model has children\n"
-		       "   got %" IVdf ", expected %d", items - 3, n);
+		       "   got %d, expected %d", (int) (items - 3), n);
 	new_order = g_new (gint, n);
 	for (i = 0 ; i < n ; i++)
 		new_order[i] = SvIV (ST (3+i));



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