summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_count_bits.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_count_bits.c')
-rw-r--r--libtommath/bn_mp_count_bits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_count_bits.c b/libtommath/bn_mp_count_bits.c
index dea364f..7424581 100644
--- a/libtommath/bn_mp_count_bits.c
+++ b/libtommath/bn_mp_count_bits.c
@@ -16,7 +16,7 @@
*/
/* returns the number of bits in an int */
-int mp_count_bits(mp_int *a)
+int mp_count_bits(const mp_int *a)
{
int r;
mp_digit q;