Commit 3995ece51bab45d58a5c7e599fd60abd97f1f8d1

Francois Perrad 2019-10-20T17:05:55

const parameter

diff --git a/demo/timing.c b/demo/timing.c
index f620b8c..ed90660 100644
--- a/demo/timing.c
+++ b/demo/timing.c
@@ -21,7 +21,7 @@
 #endif
 
 
-static void ndraw(mp_int *a, const char *name)
+static void ndraw(const mp_int *a, const char *name)
 {
    char buf[4096];
 
@@ -30,7 +30,7 @@ static void ndraw(mp_int *a, const char *name)
    printf("%s\n", buf);
 }
 
-static void draw(mp_int *a)
+static void draw(const mp_int *a)
 {
    ndraw(a, "");
 }