From 4497ebeab15dd87e67df68cacc2f490242fae67d Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Fri, 7 Jun 2019 09:52:16 +0100 Subject: [PATCH] wmail: declare enum variable with the right type. --- wmail/src/wmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmail/src/wmail.c b/wmail/src/wmail.c index 8eed554..7bdd4da 100644 --- a/wmail/src/wmail.c +++ b/wmail/src/wmail.c @@ -641,7 +641,7 @@ static void CheckMBox( void ) static void CheckMaildir( void ) { DIR *dir = NULL; - int lastState = state; + mail_state_t lastState = state; unsigned lastMailCount = numMails; if( forceRead ) {