# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1306149753 -7200
# Branch HEAD
# Node ID 160e52d652e0d5161afd1ae4c067b1094b4f82e5
# Parent  db2c3d895a1645159338d9a8d0b9361a832f276c
folder_file: change type of new from short to int

As requested by Rocco Rutte in bug #2421 increase the type to int.

Signed-off-by: Olaf Hering <[email protected]>

diff -r db2c3d895a16 -r 160e52d652e0 browser.c
--- a/browser.c Mon May 23 13:22:33 2011 +0200
+++ b/browser.c Mon May 23 13:22:33 2011 +0200
@@ -324,7 +324,7 @@ folder_format_str (char *dest, size_t de
 }
 
 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)
   {
diff -r db2c3d895a16 -r 160e52d652e0 browser.h
--- a/browser.h Mon May 23 13:22:33 2011 +0200
+++ b/browser.h Mon May 23 13:22:33 2011 +0200
@@ -31,7 +31,7 @@ struct folder_file
   char *name;
   char *desc;
 
-  unsigned short new;
+  unsigned int new;
 #ifdef USE_IMAP
   char delim;
   

Reply via email to