From 9deeaa4fedfb9dbb4d42228121d1a124df4da904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Thu, 2 May 2013 11:55:21 +0200 Subject: Replaced use of old gmp-1 type MP_INT. --- ChangeLog | 5 +++++ sexp-format.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- cgit v1.2.1