--- curve25519_i64/curve25519_i64.c.bak 2006-08-24 23:56:28.000000000 +0300 +++ curve25519_i64/curve25519_i64.c 2007-11-17 18:37:01.855101842 +0200 @@ -89,7 +89,7 @@ static int mula32(dstptr p, srcptr x, sr * requires t > 0 && d[t-1] != 0 * requires that r[-1] and d[-1] are valid memory locations * q may overlap with r+t */ -static void divmod(dstptr q, dstptr r, unsigned n, srcptr d, unsigned t) { +static void divmod(dstptr q, dstptr r, int n, srcptr d, int t) { int rn = 0; int dt = d[t-1] << 8 | (d[t-2] & -(t > 1));