1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +00:00

Merge pull request #144 from troky/master

Bugfix and cleanup.
This commit is contained in:
Noel Maersk 2014-03-11 01:35:01 +02:00
commit 07f5787386
2 changed files with 3 additions and 6 deletions

6
ocl.c
View File

@ -782,10 +782,10 @@ built:
* 2 greater >= required amount earlier */ * 2 greater >= required amount earlier */
if (bufsize > cgpu->max_alloc) { if (bufsize > cgpu->max_alloc) {
applog(LOG_WARNING, "Maximum buffer memory device %d supports says %lu", applog(LOG_WARNING, "Maximum buffer memory device %d supports says %lu",
gpu, (long unsigned int)(cgpu->max_alloc)); gpu, (unsigned long)(cgpu->max_alloc));
applog(LOG_WARNING, "Your scrypt settings come to %d", (int)bufsize); applog(LOG_WARNING, "Your scrypt settings come to %lu", (unsigned long)bufsize);
} }
applog(LOG_DEBUG, "Creating scrypt buffer sized %d", (int)bufsize); applog(LOG_DEBUG, "Creating scrypt buffer sized %lu", (unsigned long)bufsize);
clState->padbufsize = bufsize; clState->padbufsize = bufsize;
/* This buffer is weird and might work to some degree even if /* This buffer is weird and might work to some degree even if

View File

@ -1,3 +0,0 @@
Download and extract static libs in this folder from:
https://mega.co.nz/#!iNBzDTSY!k2rcUJgAix1UDL77U8QZN35fOE8ulQBge7hGxK_FcpE