summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_div_2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_div_2d.c')
-rw-r--r--libtommath/bn_mp_div_2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_div_2d.c b/libtommath/bn_mp_div_2d.c
index 2f8d812..d7b7e05 100644
--- a/libtommath/bn_mp_div_2d.c
+++ b/libtommath/bn_mp_div_2d.c
@@ -16,7 +16,7 @@
*/
/* shift right by a certain bit count (store quotient in c, optional remainder in d) */
-int mp_div_2d (mp_int * a, int b, mp_int * c, mp_int * d)
+int mp_div_2d (const mp_int * a, int b, mp_int * c, mp_int * d)
{
mp_digit D, r, rr;
int x, res;