X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/45c0fd363937c6e9b05da04a9167e9912c05ca0c..95ccefe3ce59a0773f915aca6948d5b6f1f7c882:/mpint.c diff --git a/mpint.c b/mpint.c index 244ff9a..7c1b8cc 100644 --- a/mpint.c +++ b/mpint.c @@ -128,7 +128,7 @@ static int touint(dstr *v) unsigned j = mp_touint(m); int ok = 1; - if (i != j) { + if ((unsigned)i != j) { fputs("\n*** touint failed.\n", stderr); fputs("m = ", stderr); mp_writefile(m, stderr, 10); fprintf(stderr, "\nexpect = %lu; result = %u\n", i, j);