Browse Source

bufsize is an unsigned integer, make it so for debug.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
1c6d8a36d8
  1. 2
      ocl.c

2
ocl.c

@ -814,7 +814,7 @@ built:
applog(LOG_WARNING, "Your scrypt settings come to %u", bufsize); applog(LOG_WARNING, "Your scrypt settings come to %u", bufsize);
} else } else
bufsize = cgpu->max_alloc; bufsize = cgpu->max_alloc;
applog(LOG_DEBUG, "Creating scrypt buffer sized %d", bufsize); applog(LOG_DEBUG, "Creating scrypt buffer sized %u", 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

Loading…
Cancel
Save