Fixed crash on sgminer 4.1.0 due to API field type incompatibility.