Commit 93a7967ecbdf69024d22acaa9efa7ba98447dbfb

Con Kolivas 2012-07-04T15:22:05

Fix signedness warning.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-bitforce.c b/driver-bitforce.c
index 27494c4..7d51ce3 100644
--- a/driver-bitforce.c
+++ b/driver-bitforce.c
@@ -450,7 +450,7 @@ static struct api_data *bitforce_api_stats(struct cgpu_info *cgpu)
 	// care since hashing performance is way more important than
 	// locking access to displaying API debug 'stats'
 	// If locking becomes an issue for any of them, use copy_data=true also
-	root = api_add_int(root, "Sleep Time", &(cgpu->sleep_ms), false);
+	root = api_add_uint(root, "Sleep Time", &(cgpu->sleep_ms), false);
 
 	return root;
 }