summaryrefslogtreecommitdiff
path: root/mpf/set_dfl_prec.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-12-20 23:54:57 +0100
committerTorbjorn Granlund <tege@gmplib.org>2009-12-20 23:54:57 +0100
commit3ba1597c34eeddef0c820863d98ed9506c8d3e9c (patch)
tree967966420d447f3e630ca1cc85709b7f9c1e03af /mpf/set_dfl_prec.c
parenta6426a5313cac3c0fb05358e7d254653222f745f (diff)
downloadgmp-3ba1597c34eeddef0c820863d98ed9506c8d3e9c.tar.gz
Change all bit counts for bignums to use mp_bitcnt_t. Update documentation.
Diffstat (limited to 'mpf/set_dfl_prec.c')
-rw-r--r--mpf/set_dfl_prec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/set_dfl_prec.c b/mpf/set_dfl_prec.c
index 5266745be..df5248860 100644
--- a/mpf/set_dfl_prec.c
+++ b/mpf/set_dfl_prec.c
@@ -23,7 +23,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
mp_size_t __gmp_default_fp_limb_precision = __GMPF_BITS_TO_PREC (53);
void
-mpf_set_default_prec (unsigned long int prec_in_bits)
+mpf_set_default_prec (mp_bitcnt_t prec_in_bits)
{
__gmp_default_fp_limb_precision = __GMPF_BITS_TO_PREC (prec_in_bits);
}