Browse Source

hexstr is too small in test_work_current

nfactor-troky
Con Kolivas 11 years ago
parent
commit
07837072f1
  1. 2
      cgminer.c

2
cgminer.c

@ -4004,7 +4004,7 @@ static void set_blockdiff(const struct work *work) @@ -4004,7 +4004,7 @@ static void set_blockdiff(const struct work *work)
static bool test_work_current(struct work *work)
{
bool ret = true;
char hexstr[20];
char hexstr[40];
if (work->mandatory)
return ret;

Loading…
Cancel
Save