Fix a couple of signedness compiler warnings, presumably due to me
[u/mdw/putty] / sshrsa.c
index 2dc09d1..12229e6 100644 (file)
--- a/sshrsa.c
+++ b/sshrsa.c
@@ -961,7 +961,7 @@ void ssh_rsakex_encrypt(const struct ssh_hash *h, unsigned char *in, int inlen,
      */
     b1 = bignum_from_bytes(out, outlen);
     b2 = modpow(b1, rsa->exponent, rsa->modulus);
-    p = out;
+    p = (char *)out;
     for (i = outlen; i--;) {
        *p++ = bignum_byte(b2, i);
     }