From 636ce4f66635bfb7ec897913f0def003d29f46c4 Mon Sep 17 00:00:00 2001 From: William Hart Date: Mon, 16 Jun 2014 14:48:10 +0100 Subject: [PATCH] Fix some more compiler warnings. --- tests/cxx/t-locale.cc | 2 +- tests/fft/t-fft_ifft_mfa_trunc_sqrt2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cxx/t-locale.cc b/tests/cxx/t-locale.cc index 757bf3d7..f20ec265 100644 --- a/tests/cxx/t-locale.cc +++ b/tests/cxx/t-locale.cc @@ -34,7 +34,7 @@ using namespace std; extern "C" { char point_string[2]; -}; +} #if HAVE_STD__LOCALE // Like std::numpunct, but with decimal_point coming from point_string[]. diff --git a/tests/fft/t-fft_ifft_mfa_trunc_sqrt2.c b/tests/fft/t-fft_ifft_mfa_trunc_sqrt2.c index d8c51825..7f9c62be 100644 --- a/tests/fft/t-fft_ifft_mfa_trunc_sqrt2.c +++ b/tests/fft/t-fft_ifft_mfa_trunc_sqrt2.c @@ -59,7 +59,7 @@ main(void) mp_limb_t * ptr; mp_limb_t ** ii, ** jj, * t1, * t2, * s1; - mpn_rrandom(&trunc, state, 1); + mpn_rrandom((mp_ptr) &trunc, state, 1); trunc = 2*n + trunc % (2 * n) + 1; trunc = 2*n1*((trunc + 2*n1 - 1)/(2*n1));