1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-09 12:11:02 +00:00

avalon stats use exact type

This commit is contained in:
Kano 2013-09-26 20:56:24 +10:00
parent d5f61e9a5d
commit c4b685cbe7

View File

@ -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;
}