projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Halibut syntax error (oops).
[u/mdw/putty]
/
sshbn.c
diff --git
a/sshbn.c
b/sshbn.c
index
505a66c
..
40f9560
100644
(file)
--- a/
sshbn.c
+++ b/
sshbn.c
@@
-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;