Commit abfad795 abfad795a5ca3c3714eacfaa19166b555ac93898 by Sergey Poznyakoff

Fixed printf formats

1 parent 83107b85
......@@ -36,7 +36,7 @@ mu_nntp_article (mu_nntp_t nntp, unsigned long number, unsigned long *pnum, char
{
return ENOMEM;
}
snprintf (message_id, 127, "%d", number);
snprintf (message_id, 127, "%lu", number);
}
status = mu_nntp_article_id (nntp, message_id, pnum, mid, pstream);
if (message_id)
......
......@@ -36,7 +36,7 @@ mu_nntp_body (mu_nntp_t nntp, unsigned long number, unsigned long *pnum, char **
{
return ENOMEM;
}
snprintf (message_id, 127, "%d", number);
snprintf (message_id, 127, "%lu", number);
}
status = mu_nntp_body_id (nntp, message_id, pnum, mid, pstream);
if (message_id)
......
......@@ -36,7 +36,7 @@ mu_nntp_head (mu_nntp_t nntp, unsigned long number, unsigned long *pnum, char **
{
return ENOMEM;
}
snprintf (message_id, 127, "%d", number);
snprintf (message_id, 127, "%lu", number);
}
status = mu_nntp_head_id (nntp, message_id, pnum, mid, pstream);
if (message_id)
......