mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-31 08:54:19 +00:00
MSVS fix.
This commit is contained in:
parent
dc3ec7907e
commit
9e515abfb0
@ -527,7 +527,7 @@ static struct opt_table *opt_find(struct opt_table *tbl, char *optname)
|
|||||||
struct remote_config file = { "", NULL };
|
struct remote_config file = { "", NULL };
|
||||||
|
|
||||||
//get filename out of url
|
//get filename out of url
|
||||||
if((p = strrchr(url, '/')) == NULL)
|
if((p = (char *)strrchr(url, '/')) == NULL)
|
||||||
{
|
{
|
||||||
applog(LOG_ERR, "Fetch remote file failed: Invalid URL");
|
applog(LOG_ERR, "Fetch remote file failed: Invalid URL");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user