Commit c4b685cbe72bf0707bc213365126b0a7840c90f9

Kano 2013-09-26T20:56:24

avalon stats use exact type

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-avalon.c b/driver-avalon.c
index 824005e..2873bbc 100644
--- a/driver-avalon.c
+++ b/driver-avalon.c
@@ -1531,7 +1531,7 @@ static struct api_data *avalon_api_stats(struct cgpu_info *cgpu)
 				info->version1, info->version2, info->version3);
 		root = api_add_string(root, "version", buf, true);
 	}
-	root = api_add_int(root, "Controller Version", &(info->ctlr_ver), false);
+	root = api_add_uint32(root, "Controller Version", &(info->ctlr_ver), false);
 
 	return root;
 }