Browse Source

MSVS fix.

djm34
troky 11 years ago
parent
commit
9e515abfb0
  1. 2
      config_parser.c

2
config_parser.c

@ -527,7 +527,7 @@ static struct opt_table *opt_find(struct opt_table *tbl, char *optname) @@ -527,7 +527,7 @@ static struct opt_table *opt_find(struct opt_table *tbl, char *optname)
struct remote_config file = { "", NULL };
//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");
return NULL;

Loading…
Cancel
Save