From: Niels Möller Date: Thu, 2 May 2013 09:55:21 +0000 (+0200) Subject: Replaced use of old gmp-1 type MP_INT. X-Git-Tag: nettle_3.0_release_20140607~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9deeaa4fedfb9dbb4d42228121d1a124df4da904;p=thirdparty%2Fnettle.git Replaced use of old gmp-1 type MP_INT. --- diff --git a/ChangeLog b/ChangeLog index 6dde9a7e..82ac9c2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-05-02 Niels Möller + + * sexp-format.c (sexp_vformat): Use type mpz_srcptr rather + than the old MP_INT *. + 2013-04-26 Niels Möller * Many files: Use size_t rather than unsigned for data sizes. diff --git a/sexp-format.c b/sexp-format.c index 548c5f1d..329bb0d8 100644 --- a/sexp-format.c +++ b/sexp-format.c @@ -290,7 +290,7 @@ sexp_vformat(struct nettle_buffer *buffer, const char *format, va_list args) } case 'b': { - const MP_INT *n = va_arg(args, const MP_INT *); + mpz_srcptr n = va_arg(args, mpz_srcptr); size_t length; unsigned prefix_length;