1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-08-26 13:52:02 +00:00

config: add const qualifier to set_pool_{algorithm,nfactor}().

MSVS doesn't like implicit casting.
This commit is contained in:
Noel Maersk 2014-04-08 14:28:50 +03:00
parent 7051629232
commit aa5f4c713b

View File

@ -781,7 +781,7 @@ static char *set_url(char *arg)
}
static char *set_pool_algorithm(char *arg)
static char *set_pool_algorithm(const char *arg)
{
struct pool *pool = get_current_pool();
@ -791,7 +791,7 @@ static char *set_pool_algorithm(char *arg)
return NULL;
}
static char *set_pool_nfactor(char *arg)
static char *set_pool_nfactor(const char *arg)
{
struct pool *pool = get_current_pool();