1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-31 00:44:19 +00:00

MSVS fix.

This commit is contained in:
troky 2014-07-01 09:25:22 +02:00
parent dc3ec7907e
commit 9e515abfb0

View File

@ -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;