From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
To: dccp@vger.kernel.org
Subject: Re: [PATCH] BUG-FIX - conversion errors
Date: Mon, 11 Dec 2006 07:23:16 +0000 [thread overview]
Message-ID: <200612110723.16639@strip-the-willow> (raw)
In-Reply-To: <200612081532.21104@strip-the-willow>
Quoting Ian McDonald:
| On 12/9/06, Gerrit Renker <gerrit@erg.abdn.ac.uk> wrote:
| > [CCID3]: BUG-FIX - conversion errors
| > - u16 w_init = min( 4 * hctx->ccid3hctx_s,
| > - max(2 * hctx->ccid3hctx_s, 4380));
| > + __u64 w_init = min( 4 * hctx->ccid3hctx_s,
| > + max(2 * hctx->ccid3hctx_s, 4380));
|
| This has broken this code on line 478 of ccid3.c:
| ccid3_pr_debug("%s(%p), s=%u, w_init=%u, "
| "R_sample=%ldus, X=%u\n", dccp_role(sk),
| sk, hctx->ccid3hctx_s, w_init, r_sample,
| (unsigned)(hctx->ccid3hctx_x >> 6));
|
|
| If I change the line to this it works for me:
| ccid3_pr_debug("%s(%p), s=%u, w_init=%llu, "
|
Hi there - sorry about the whitespace errors and the above one. I thought about this one
when I went home on Friday. I will re-work the above, also to use MSS instead of `s', which
does make sense.
Thanks for all the good work, Arnaldo.
Gerrit
next prev parent reply other threads:[~2006-12-11 7:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-08 15:32 [PATCH] BUG-FIX - conversion errors Gerrit Renker
2006-12-08 17:19 ` Ian McDonald
2006-12-09 3:57 ` Ian McDonald
2006-12-09 11:26 ` Arnaldo Carvalho de Melo
2006-12-11 7:23 ` Gerrit Renker [this message]
2006-12-11 8:52 ` Ian McDonald
2006-12-11 9:03 ` Gerrit Renker
2006-12-11 9:53 ` Arnaldo Carvalho de Melo
2006-12-11 10:31 ` Gerrit Renker
2006-12-17 21:55 ` Eddie Kohler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200612110723.16639@strip-the-willow \
--to=gerrit@erg.abdn.ac.uk \
--cc=dccp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox