diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-11 15:18:07 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-11 15:18:07 +0000 |
commit | 442ca3c91e1f7cb18428a9b6d0fc5615bf62aa54 (patch) | |
tree | f82c89ac8b8c55589af89da7dbd54eb0150df3b6 /mh | |
parent | cdf51934dc29acfb379e02f634c0ad61d04794f8 (diff) | |
download | mailutils-442ca3c91e1f7cb18428a9b6d0fc5615bf62aa54.tar.gz mailutils-442ca3c91e1f7cb18428a9b6d0fc5615bf62aa54.tar.bz2 |
Add typecasts to the arguments of printf-like functions where necessary.
Diffstat (limited to 'mh')
-rw-r--r-- | mh/mh_global.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mh/mh_global.c b/mh/mh_global.c index f9f79c653..6b8227725 100644 --- a/mh/mh_global.c +++ b/mh/mh_global.c @@ -146,7 +146,7 @@ void mh_global_save_state () { char buf[64]; - snprintf (buf, sizeof buf, "%d", current_message); + snprintf (buf, sizeof buf, "%lu", (unsigned long) current_message); mh_context_set_value (sequences, "cur", buf); mh_context_write (sequences); |