Browse Source

Fixed bufsize type.

build-mingw
unknown 10 years ago
parent
commit
f7f582732a
  1. 6
      ocl.c

6
ocl.c

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

Loading…
Cancel
Save