summaryrefslogtreecommitdiff
path: root/mpz/urandomb.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 /mpz/urandomb.c
parenta6426a5313cac3c0fb05358e7d254653222f745f (diff)
downloadgmp-3ba1597c34eeddef0c820863d98ed9506c8d3e9c.tar.gz
Change all bit counts for bignums to use mp_bitcnt_t. Update documentation.
Diffstat (limited to 'mpz/urandomb.c')
-rw-r--r--mpz/urandomb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/urandomb.c b/mpz/urandomb.c
index 3072cd40f..fc7ec55ce 100644
--- a/mpz/urandomb.c
+++ b/mpz/urandomb.c
@@ -23,7 +23,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include "gmp-impl.h"
void
-mpz_urandomb (mpz_ptr rop, gmp_randstate_t rstate, unsigned long int nbits)
+mpz_urandomb (mpz_ptr rop, gmp_randstate_t rstate, mp_bitcnt_t nbits)
{
mp_ptr rp;
mp_size_t size;