diff src/view_file.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 8268cbe682f1
children 477f48ba28d8
line wrap: on
line diff
--- a/src/view_file.c	Thu May 22 11:28:35 2008 +0000
+++ b/src/view_file.c	Thu May 22 13:00:45 2008 +0000
@@ -79,9 +79,9 @@
 	return index;
 }
 
-gint vf_count(ViewFile *vf, gint64 *bytes)
+guint vf_count(ViewFile *vf, gint64 *bytes)
 {
-	gint count = 0;
+	guint count = 0;
 
 	switch(vf->type)
 	{
@@ -167,9 +167,9 @@
  *-----------------------------------------------------------------------------
  */
 
-gint vf_selection_count(ViewFile *vf, gint64 *bytes)
+guint vf_selection_count(ViewFile *vf, gint64 *bytes)
 {
-	gint count = 0;
+	guint count = 0;
 
 	switch(vf->type)
 	{