From ccc1909733b32025dc2180e4cccb623743e99e23 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 16 Sep 2008 22:56:08 +0000 Subject: [PATCH] Further correction: on reflection, after examining all the call sites for uint64_make(), we _shouldn't_ attempt to preserve high bits in the low-order argument; it turns out not to be what the call sites want. git-svn-id: svn://svn.tartarus.org/sgt/putty@8185 cda61777-01e9-0310-a592-d414129be87e --- int64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/int64.c b/int64.c index 664ce49e..b1c986ce 100644 --- a/int64.c +++ b/int64.c @@ -49,7 +49,7 @@ void uint64_decimal(uint64 x, char *buffer) uint64 uint64_make(unsigned long hi, unsigned long lo) { uint64 y; - y.hi = (hi + (lo >> 32)) & 0xFFFFFFFFU; + y.hi = hi & 0xFFFFFFFFU; y.lo = lo & 0xFFFFFFFFU; return y; } -- 2.11.0