summaryrefslogtreecommitdiff
path: root/mpq/cmp_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpq/cmp_ui.c')
-rw-r--r--mpq/cmp_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpq/cmp_ui.c b/mpq/cmp_ui.c
index 4557ba575..de991f42e 100644
--- a/mpq/cmp_ui.c
+++ b/mpq/cmp_ui.c
@@ -23,7 +23,7 @@ along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */
#include "gmp-impl.h"
int
-_mpq_cmp_ui (const MP_RAT *op1, unsigned long int num2, unsigned long int den2)
+_mpq_cmp_ui (const mpq_t op1, unsigned long int num2, unsigned long int den2)
{
mp_size_t num1_size = SIZ(NUM(op1));
mp_size_t den1_size = SIZ(DEN(op1));