Loading lib/imap.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -243,7 +243,7 @@ static const char *getcmdid(struct connectdata *conn) struct imap_conn *imapc = &conn->proto.imapc; struct imap_conn *imapc = &conn->proto.imapc; /* get the next id, but wrap at end of table */ /* get the next id, but wrap at end of table */ imapc->cmdid = (imapc->cmdid+1)% (sizeof(ids)/sizeof(ids[0])); imapc->cmdid = (int)((imapc->cmdid+1) % (sizeof(ids)/sizeof(ids[0]))); return ids[imapc->cmdid]; return ids[imapc->cmdid]; } } Loading Loading
lib/imap.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -243,7 +243,7 @@ static const char *getcmdid(struct connectdata *conn) struct imap_conn *imapc = &conn->proto.imapc; struct imap_conn *imapc = &conn->proto.imapc; /* get the next id, but wrap at end of table */ /* get the next id, but wrap at end of table */ imapc->cmdid = (imapc->cmdid+1)% (sizeof(ids)/sizeof(ids[0])); imapc->cmdid = (int)((imapc->cmdid+1) % (sizeof(ids)/sizeof(ids[0]))); return ids[imapc->cmdid]; return ids[imapc->cmdid]; } } Loading