]> granicus.if.org Git - neomutt/commitdiff
Use 'unsigned int' for file browser state to browse huge dirs (closes #3017).
authorRocco Rutte <pdmef@gmx.net>
Thu, 17 Jan 2008 16:32:39 +0000 (17:32 +0100)
committerRocco Rutte <pdmef@gmx.net>
Thu, 17 Jan 2008 16:32:39 +0000 (17:32 +0100)
browser.h

index 5d3f977e667f56c10e241e1e50d24f55fc101a80..af43333db8ca74ccd4516b74d74af02c0c2ca755 100644 (file)
--- a/browser.h
+++ b/browser.h
@@ -44,8 +44,8 @@ struct folder_file
 struct browser_state
 {
   struct folder_file *entry;
-  short entrylen; /* number of real entries */
-  short entrymax;  /* max entry */
+  unsigned int entrylen;       /* number of real entries */
+  unsigned int entrymax;       /* max entry */
 #ifdef USE_IMAP
   short imap_browse;
   char *folder;