Commit 7c53f927 7c53f927013f1fc3c1d9df98cb1948a8106b2ec9 by Sergey Poznyakoff

Minor correction

1 parent 30198fa8
......@@ -408,7 +408,7 @@ util_finish (struct imap4d_command *command, int rc, const char *format, ...)
int new_state;
int status = 0;
va_list ap;
char *sc = sc2string (rc);
const char *sc = sc2string (rc);
va_start (ap, format);
vasprintf (&tempbuf, format, ap);
......
......@@ -864,7 +864,8 @@ notify_biff (mailbox_t mbox, char *name, size_t size)
return;
mailbox_get_url (mbox, &url);
asprintf (&buf, "%s@%ld:%s", name, size, url_to_string (url));
asprintf (&buf, "%s@%lu:%s", name,
(unsigned long) size, url_to_string (url));
if (buf)
{
sendto (fd, buf, strlen (buf), 0, (struct sockaddr *)&inaddr,
......
......@@ -143,7 +143,7 @@ display_message0 (message_t mesg, const msgset_t *msgset,
{
size_t nparts = 0;
header_t hdr = NULL;
const char *type;
char *type;
char *encoding;
int ismime = 0;
char *tmp;
......