Browse Source

Merge branch 'bugfix_const_warning' into bfgminer

Luke Dashjr 14 years ago
parent
commit
a291a54b5d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      miner.c

+ 5 - 1
miner.c

@@ -1979,7 +1979,11 @@ void kill_work(void)
 	quit(0, "Shutdown signal received.");
 }
 
-static char **initial_args;
+static
+#ifdef WIN32
+const
+#endif
+char **initial_args;
 
 static void clean_up(void);