Re: [PATCH] BUG-FIX - conversion errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 09, 2006 at 04:57:12PM +1300, Ian McDonald wrote:
> On 12/9/06, Gerrit Renker <gerrit@xxxxxxxxxxxxxx> 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, "

Thanks Ian, applied this fix.

- Arnaldo
- 
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux