summaryrefslogtreecommitdiff
path: root/src/get_prec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/get_prec.c')
-rw-r--r--src/get_prec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/get_prec.c b/src/get_prec.c
index cd11a0f..7f56e9e 100644
--- a/src/get_prec.c
+++ b/src/get_prec.c
@@ -23,7 +23,7 @@ MA 02111-1307, USA. */
#include "mpc-impl.h"
mp_prec_t
-mpc_get_prec (mpc_t x)
+mpc_get_prec (mpc_srcptr x)
{
mp_prec_t precre = MPFR_PREC (MPC_RE (x));
return (MPFR_PREC (MPC_IM (x)) == precre ? precre : 0);