Fix some more compiler warnings.

This commit is contained in:
William Hart 2014-06-16 14:48:10 +01:00
parent 63e9ef9985
commit 636ce4f666
2 changed files with 2 additions and 2 deletions

View File

@ -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[].

View File

@ -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));