*/
static void restore_address(struct Address **a, const unsigned char *d, int *off, bool convert)
{
- unsigned int counter;
+ unsigned int counter = 0;
+ unsigned int g = 0;
restore_int(&counter, d, off);
*a = mutt_addr_new();
restore_char(&(*a)->personal, d, off, convert);
restore_char(&(*a)->mailbox, d, off, false);
- restore_int((unsigned int *) &(*a)->group, d, off);
+ restore_int(&g, d, off);
+ (*a)->group = g;
a = &(*a)->next;
counter--;
}
{
char *personal; /**< real name of address */
char *mailbox; /**< mailbox and host address */
- int group; /**< group mailbox? */
- struct Address *next;
+ bool group : 1; /**< group mailbox? */
bool is_intl : 1;
bool intl_checked : 1;
+ struct Address *next;
};
/**
int offset; /**< row offset within the window to start the index */
int pagelen; /**< number of entries per screen */
bool tagprefix : 1;
- int is_mailbox_list;
+ bool is_mailbox_list : 1;
struct MuttWindow *indexwin;
struct MuttWindow *statuswin;
struct MuttWindow *helpwin;