Mercurial > dropbear
diff common-algo.c @ 1106:2052b53d3034
Turn Algo_Type's name attribute into const char *
author | Gaël PORTAY <gael.portay@gmail.com> |
---|---|
date | Sat, 02 May 2015 22:37:08 +0200 |
parents | c45d65392c1a |
children | bb3a03feb31f aaf576b27a10 |
line wrap: on
line diff
--- a/common-algo.c Sat May 02 22:24:02 2015 +0200 +++ b/common-algo.c Sat May 02 22:37:08 2015 +0200 @@ -322,7 +322,7 @@ 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);