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

Make the numbuf larger to accept larger scrypt parameters.

This commit is contained in:
Con Kolivas 2013-02-10 15:07:49 +11:00
parent 775a1abc06
commit 266d31271a

2
ocl.c
View File

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