1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 22:38:01 +00:00

Reverting 83d71da. VS2010 fix.

This commit is contained in:
troky 2014-05-22 09:55:43 +02:00
parent addc411376
commit 22a3c5b6fe

View File

@ -7941,7 +7941,7 @@ int main(int argc, char *argv[])
quithere(1, "Failed to pthread_mutex_init lockstat_lock errno=%d", errno);
#endif
initial_args = (char **)malloc(sizeof(char *)* (argc + 1));
initial_args = (const char **)malloc(sizeof(char *)* (argc + 1));
for (i = 0; i < argc; i++)
initial_args[i] = strdup(argv[i]);
initial_args[argc] = NULL;