mailer: avoid a build issue with modern compilers

This commit is contained in:
Pierre Pronchery 2024-09-09 21:12:57 +02:00
parent f128979909
commit abee839f11
3 changed files with 3 additions and 3 deletions

View File

@ -190,7 +190,7 @@ AccountConfig const _imap4_config[I4CV_COUNT + 1] =
{ "username", "Username", ACT_STRING, NULL },
{ "password", "Password", ACT_PASSWORD, NULL },
{ "hostname", "Server hostname", ACT_STRING, NULL },
{ "port", "Server port", ACT_UINT16, 143 },
{ "port", "Server port", ACT_UINT16, (void *)143 },
{ "ssl", "Use SSL", ACT_BOOLEAN, 0 },
#if 0 /* XXX not implemented yet */
{ "sent", "Sent mails folder", ACT_NONE, NULL },

View File

@ -41,7 +41,7 @@ static AccountConfig const _nntp_config[] =
{ "username", "Username", ACT_STRING, NULL },
{ "password", "Password", ACT_PASSWORD, NULL },
{ "hostname", "Server hostname", ACT_STRING, NULL },
{ "port", "Server port", ACT_UINT16, 119 },
{ "port", "Server port", ACT_UINT16, (void *)119 },
{ "ssl", "Use SSL", ACT_BOOLEAN, 0 },
{ NULL, NULL, ACT_NONE, NULL }
};

View File

@ -154,7 +154,7 @@ static AccountConfig _pop3_config[P3CV_COUNT + 1] =
{ "username", "Username", ACT_STRING, NULL },
{ "password", "Password", ACT_PASSWORD, NULL },
{ "hostname", "Server hostname", ACT_STRING, NULL },
{ "port", "Server port", ACT_UINT16, 110 },
{ "port", "Server port", ACT_UINT16, (void *)110 },
{ "ssl", "Use SSL", ACT_BOOLEAN, NULL },
{ "delete", "Delete read mails on server",
ACT_BOOLEAN, NULL },