Browse Source

Fix access violation with scrypt mining

Fix access violation when thread_concurrency is > 9999
Jake 13 years ago
parent
commit
3115b8b315
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ocl.c

+ 1 - 1
ocl.c

@@ -557,7 +557,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
 	 */
 	char binaryfilename[255];
 	char filename[255];
-	char numbuf[10];
+	char numbuf[32];
 
 	if (cgpu->kernel == KL_NONE) {
 		if (opt_scrypt) {