]> granicus.if.org Git - neomutt/commitdiff
folder_file: change type of new from short to int
authorOlaf Hering <olaf@aepfle.de>
Mon, 23 May 2011 11:22:33 +0000 (13:22 +0200)
committerOlaf Hering <olaf@aepfle.de>
Mon, 23 May 2011 11:22:33 +0000 (13:22 +0200)
As requested by Rocco Rutte in bug #2421 increase the type to int.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
browser.c
browser.h

index 3bb396e5a1b0894ed34da36f28cd3c0736b7c1ab..3cc2493922f02f9c99ae72974f1101f0b6ef7aaa 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -325,7 +325,7 @@ folder_format_str (char *dest, size_t destlen, size_t col, char op, const char *
 }
 
 static void add_folder (MUTTMENU *m, struct browser_state *state,
-                       const char *name, const struct stat *s, int new)
+                       const char *name, const struct stat *s, unsigned int new)
 {
   if (state->entrylen == state->entrymax)
   {
index 41cbbde28683c42fb16d65c255d6269be5134589..515d69f1add69de2df1c61dcb6c47281919ef4d8 100644 (file)
--- a/browser.h
+++ b/browser.h
@@ -29,7 +29,7 @@ struct folder_file
   char *name;
   char *desc;
 
-  unsigned short new;
+  unsigned int new;
 #ifdef USE_IMAP
   char delim;