11 May 10:57
[Mutt] #3054: mutt-1.5.17: inconsistent format strings in debug output of rfc3676.c
From: Mutt <fleas <at> mutt.org>
Subject: [Mutt] #3054: mutt-1.5.17: inconsistent format strings in debug output of rfc3676.c
Newsgroups: gmane.mail.mutt.devel
Date: 2008-05-11 08:58:17 GMT
Subject: [Mutt] #3054: mutt-1.5.17: inconsistent format strings in debug output of rfc3676.c
Newsgroups: gmane.mail.mutt.devel
Date: 2008-05-11 08:58:17 GMT
#3054: mutt-1.5.17: inconsistent format strings in debug output of rfc3676.c
{{{
Package: mutt
Version: 1.5.17
Severity: normal
-- Please type your report below this line
rfc3676.c causes gcc 4.1.2 complaints since %ld is used to print size_t
type arguments. The patch included below casts these arguments to long
to avoid issues on platforms where sizeof(long) != sizeof(size_t).
This is generated with hg export:
# HG changeset patch
# User Matthias Andree <matthias.andree <at> gmx.de>
# Date 1210495963 -7200
# Branch HEAD
# Node ID 09b0363cdf54c414fc7a94b8034ea67b242ab439
# Parent 98c39c5187a957c12ee99a0d7322634723f1e866
In debug output, cast size_t arguments to long for consistency with
printf %ld argument.
diff -r 98c39c5187a9 -r 09b0363cdf54 rfc3676.c
--- a/rfc3676.c Sun May 11 00:50:31 2008 -0700
+++ b/rfc3676.c Sun May 11 10:52:43 2008 +0200
@@ -101,16 +101,16 @@
width = quote_width (s, ql);
(Continue reading)
RSS Feed