Browse Source

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

Conflicts:
	ocl.c
Con Kolivas 13 years ago
parent
commit
80787bb4f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ocl.c

+ 1 - 1
ocl.c

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