That's what it actually is, hence let's use that and cast when the type
is bigger.
r = table_add_many(table,
TABLE_STRING, exit_status_mappings[i].name,
- TABLE_UINT, i,
+ TABLE_INT, (int) i,
TABLE_STRING, exit_status_class(i));
if (r < 0)
return r;
assert(code >= 0 && (size_t) code < ELEMENTSOF(exit_status_mappings));
r = table_add_many(table,
TABLE_STRING, exit_status_mappings[code].name ?: "-",
- TABLE_UINT, code,
+ TABLE_INT, code,
TABLE_STRING, exit_status_class(code) ?: "-");
if (r < 0)
return r;