[nautilus-actions] Fix display of 64bits value



commit 4ff34e35fae371a698d14becccbf02c9f95ec6ea
Author: Pierre Wieser <pwieser trychlos org>
Date:   Fri Mar 5 22:05:14 2010 +0100

    Fix display of 64bits value

 ChangeLog                      |    3 +++
 src/nact/nact-tree-model-dnd.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 236b250..c60cd80 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@
 	* src/nact/nact-main-menubar.c (on_delete_activated):
 	Do not delete a tree if at least one item is not writable.
 
+	* src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
+	Fix 64 bits value.
+
 	* src/plugin-menu/nautilus-actions.c
 	(create_item_from_menu): Add a trace on weak notify.
 
diff --git a/src/nact/nact-tree-model-dnd.c b/src/nact/nact-tree-model-dnd.c
index 1502edc..9b8bed5 100644
--- a/src/nact/nact-tree-model-dnd.c
+++ b/src/nact/nact-tree-model-dnd.c
@@ -979,7 +979,7 @@ get_xds_atom_value( GdkDragContext *context )
 						&actual_length,				/* actual length (in 4 bytes chunks) */
 						( guchar ** ) &ret );		/* data pointer */
 
-	g_debug( "get_xds_atom_value: actual_length=%d, actual_length=%d", actual_length, actual_length/sizeof( glong ));
+	g_debug( "get_xds_atom_value: actual_length=%d, actual_length=%lu", actual_length, ( gulong ) actual_length/sizeof( glong ));
 	g_debug( "get_xds_atom_value: ret=%s", ret );
 
 	gchar *dup = g_strdup( ret );



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