summaryrefslogtreecommitdiff
path: root/mpq/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpq/init.c')
-rw-r--r--mpq/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpq/init.c b/mpq/init.c
index b218579a7..f97046740 100644
--- a/mpq/init.c
+++ b/mpq/init.c
@@ -21,7 +21,7 @@ along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */
#include "gmp-impl.h"
void
-mpq_init (MP_RAT *x)
+mpq_init (mpq_t x)
{
ALLOC(NUM(x)) = 1;
PTR(NUM(x)) = (mp_ptr) (*__gmp_allocate_func) (GMP_LIMB_BYTES);