wmail: declare enum variable with the right type.

This commit is contained in:
Jeremy Sowden 2019-06-07 09:52:16 +01:00 committed by Carlos R. Mafra
parent 7af1c537ac
commit 4497ebeab1

View file

@ -641,7 +641,7 @@ static void CheckMBox( void )
static void CheckMaildir( void ) static void CheckMaildir( void )
{ {
DIR *dir = NULL; DIR *dir = NULL;
int lastState = state; mail_state_t lastState = state;
unsigned lastMailCount = numMails; unsigned lastMailCount = numMails;
if( forceRead ) { if( forceRead ) {