Support int64 in GetPayloadIntValue()
ZephyrYin opened this issue · comments
ZephyrYin commented
In file libredfish/src/payload.c, getPayloadIntValue() is casting json_int_t(long long) to int, which doesn't support read of large int, should we return fixed width of 64 instead? Or we need to add another getPayloadInt64Value() to read int64.
Patrick Boyd commented
We should add a new function so as not to break backwards compatibility.
ZephyrYin commented
close issue as pull request is merged.