diff src/layout.c @ 736:a7289f9e8d29

Fix signed vs unsigned warnings. In most cases, gint was used instead of guint.
author zas_
date Thu, 22 May 2008 13:00:45 +0000
parents a1dcef8cd1ae
children e095a66b428f
line wrap: on
line diff
--- a/src/layout.c	Thu May 22 11:28:35 2008 +0000
+++ b/src/layout.c	Thu May 22 13:00:45 2008 +0000
@@ -517,9 +517,9 @@
 
 	if (!text)
 		{
-		gint n;
+		guint n;
 		gint64 n_bytes = 0;
-		gint s;
+		guint s;
 		gint64 s_bytes = 0;
 		const gchar *ss;
 
@@ -776,7 +776,7 @@
 	return NULL;
 }
 
-gint layout_list_count(LayoutWindow *lw, gint64 *bytes)
+guint layout_list_count(LayoutWindow *lw, gint64 *bytes)
 {
 	if (!layout_valid(&lw)) return 0;
 
@@ -844,7 +844,7 @@
 	return NULL;
 }
 
-gint layout_selection_count(LayoutWindow *lw, gint64 *bytes)
+guint layout_selection_count(LayoutWindow *lw, gint64 *bytes)
 {
 	if (!layout_valid(&lw)) return 0;