From 987911bd61c39a652927df8f5de4ca2aa43b647f Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 9 Dec 2017 21:08:54 +0100 Subject: [PATCH] const parameter --- demo/demo.c | 2 +- demo/timing.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/demo.c b/demo/demo.c index d69426f..c1fcfcd 100644 --- a/demo/demo.c +++ b/demo/demo.c @@ -32,7 +32,7 @@ #include "tommath.h" -static void ndraw(mp_int *a, char *name) +static void ndraw(mp_int *a, const char *name) { char buf[16000]; diff --git a/demo/timing.c b/demo/timing.c index 38561d4..9e7d03b 100644 --- a/demo/timing.c +++ b/demo/timing.c @@ -17,7 +17,7 @@ #endif -static void ndraw(mp_int *a, char *name) +static void ndraw(mp_int *a, const char *name) { char buf[4096];