mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-28 14:52:04 +00:00
config: add const
qualifier to set_pool_{algorithm,nfactor}().
MSVS doesn't like implicit casting.
This commit is contained in:
parent
7051629232
commit
aa5f4c713b
@ -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();
|
struct pool *pool = get_current_pool();
|
||||||
|
|
||||||
@ -791,7 +791,7 @@ static char *set_pool_algorithm(char *arg)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *set_pool_nfactor(char *arg)
|
static char *set_pool_nfactor(const char *arg)
|
||||||
{
|
{
|
||||||
struct pool *pool = get_current_pool();
|
struct pool *pool = get_current_pool();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user