if (!readFrom_(mbox)) {
return;
}
- printf("%d\n%d\n", mbox->messageId, mbox->messageBeginning);
+ printf("%d\n%d\n", (int)mbox->messageId, (int)mbox->messageBeginning);
while (readLine(mbox)) {
if (mbox->isFrom_ || !strlen(mbox->line)) {
break;
int pmid = 0, pos = 0;
char *filename = NULL;
char **headers = NULL;
- char action;
+ char action = 0;
int headerNb = 0;
char *endptr;
MBox *mbox;
while (!feof(mbox->fp)) {
readLine(mbox);
}
- printf("%d\n", mbox->messageId + 1);
+ printf("%d\n", (int)(mbox->messageId + 1));
break;
case 'd':
if (fmid == -1) {