[gnome-commander/ConvertWarningsToErrors] Adapts return variable type from gint to guint



commit dfebc40a22aedf1ee80aa844fe908301e688dc5c
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Apr 22 18:24:23 2017 +0200

    Adapts return variable type from gint to guint

 src/gnome-cmd-file-list.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.h b/src/gnome-cmd-file-list.h
index dda35ea..2081368 100644
--- a/src/gnome-cmd-file-list.h
+++ b/src/gnome-cmd-file-list.h
@@ -108,8 +108,8 @@ struct GnomeCmdFileList
     GnomeCmdFileList(ColumnID sort_col, GtkSortType sort_order);
     ~GnomeCmdFileList();
 
-    int size()                          {  return g_list_length (get_visible_files());  }
-    bool empty()                        {  return get_visible_files()==NULL;            }    // FIXME should 
be: size()==0
+    guint size()                          {  return g_list_length (get_visible_files());  }
+    bool empty()                          {  return get_visible_files()==NULL;            }    // FIXME 
should be: size()==0
     void clear();
 
     void reload();


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