X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/8857f8eb568017bfe4a1f884c89d000eb64e9627..a790733d08340a9fdb017b93bdbab4e971faa8a4:/mp.h diff --git a/mp.h b/mp.h index 72aa675..6f8959a 100644 --- a/mp.h +++ b/mp.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mp.h,v 1.2 1999/11/17 18:02:16 mdw Exp $ + * $Id: mp.h,v 1.3 1999/11/19 13:19:14 mdw Exp $ * * Simple multiprecision arithmetic * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: mp.h,v $ + * Revision 1.3 1999/11/19 13:19:14 mdw + * Fix const annotation. + * * Revision 1.2 1999/11/17 18:02:16 mdw * New multiprecision integer arithmetic suite. * @@ -396,7 +399,7 @@ extern void mp_minimize(mp */*m*/); extern void mp_scan(mpscan */*sc*/, const mp */*m*/); #define MP_SCAN(sc, m) do { \ - mp *_mm = (m); \ + const mp *_mm = (m); \ mpscan *_sc = (sc); \ MPSCAN_INITX(_sc, _mm->v, _mm->vl); \ } while (0)