X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fcommand.c;h=3893f89ad0737ba3c4e437f32de6c190986bcf93;hb=5b0581b41f115cd0442037a97db313ef5b5b8822;hp=af4c2b22e8a960034abe95c00458a56d8274998d;hpb=c8bf978fc5c4f6c793620a515fa2456a3fa9eb13;p=apps%2Fmadmutt.git diff --git a/imap/command.c b/imap/command.c index af4c2b2..3893f89 100644 --- a/imap/command.c +++ b/imap/command.c @@ -19,8 +19,8 @@ #include #include #include +#include -#include "lib/debug.h" #include "mutt.h" #include "message.h" @@ -385,7 +385,7 @@ static int cmd_handle_untagged (IMAP_DATA * idata) } /* This should be optimised (eg with a tree or hash) */ -static int uid2msgno (IMAP_DATA* idata, unsigned int uid) { +static int uid2msgno (IMAP_DATA* idata, int uid) { int i; for (i = 0; i < idata->ctx->msgcount; i++) {