Commit 648c6b7c7c8bad14c054697112b1e27f5035ac11

Con Kolivas 2011-09-27T14:17:52

Intensity is signed integer, fix its display.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/main.c b/main.c
index 91c3a2b..cf9628a 100644
--- a/main.c
+++ b/main.c
@@ -3256,7 +3256,7 @@ retry:
 		if (gpus[gpu].dynamic)
 			wlog("Dynamic\n");
 		else
-			wlog("%u\n", gpus[gpu].intensity);
+			wlog("%d\n", gpus[gpu].intensity);
 		for (i = 0; i < mining_threads; i++) {
 			thr = &thr_info[i];
 			if (thr->cgpu != cgpu)