1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-14 01:27:35 -05:00

Fix various fiddly little warnings.

[originally from svn r1298]
This commit is contained in:
Simon Tatham
2001-09-25 19:59:14 +00:00
parent d84c7e05ba
commit 36e6d63b66
6 changed files with 38 additions and 38 deletions

View File

@ -753,8 +753,8 @@ Bignum bignum_from_long(unsigned long n)
Bignum ret;
ret = newbn(3);
ret[1] = n & 0xFFFF;
ret[2] = (n >> 16) & 0xFFFF;
ret[1] = (unsigned short)(n & 0xFFFF);
ret[2] = (unsigned short)((n >> 16) & 0xFFFF);
ret[3] = 0;
ret[0] = (ret[2] ? 2 : 1);
return ret;