summaryrefslogtreecommitdiffhomepage
path: root/common-algo.c
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@gmail.com>2015-05-02 22:37:08 +0200
committerGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:39:14 +0200
commit6b90885d4f8699e8607481422a43ec72fa84f295 (patch)
tree184107813f3645cbb9973a5f59416300fe728032 /common-algo.c
parentbd6c37adb6a5c3e341788a4255c138e0d71ecb48 (diff)
Turn Algo_Type's name attribute into const char *
Diffstat (limited to 'common-algo.c')
-rw-r--r--common-algo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-algo.c b/common-algo.c
index 0886a2b..76d3977 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -322,7 +322,7 @@ void buf_put_algolist(buffer * buf, algo_type localalgos[]) {
buf_putbyte(algolist, ',');
donefirst = 1;
len = strlen(localalgos[i].name);
- buf_putbytes(algolist, localalgos[i].name, len);
+ buf_putbytes(algolist, (const unsigned char *) localalgos[i].name, len);
}
}
buf_putstring(buf, algolist->data, algolist->len);