The wrong sizeof types are being used.
This is likely a copy and paste error.
for (f_array_length_t i = length; i < cellss->size; ++i) {
- status = f_memory_destroy(cellss->array[i].size, sizeof(f_cells_t), (void **) & cellss->array[i].array);
+ status = f_memory_destroy(cellss->array[i].size, sizeof(f_cell_t), (void **) & cellss->array[i].array);
if (F_status_is_error(status)) return status;
cellss->array[i].size = 0;
for (f_array_length_t i = length; i < cellss->size; ++i) {
- status = f_memory_delete(cellss->array[i].size, sizeof(f_cells_t), (void **) & cellss->array[i].array);
+ status = f_memory_delete(cellss->array[i].size, sizeof(f_cell_t), (void **) & cellss->array[i].array);
if (F_status_is_error(status)) return status;
cellss->array[i].size = 0;
for (f_array_length_t i = length; i < idss->size; ++i) {
- status = f_memory_destroy(idss->array[i].size, sizeof(f_fll_ids_t), (void **) & idss->array[i].array);
+ status = f_memory_destroy(idss->array[i].size, sizeof(f_fll_id_t), (void **) & idss->array[i].array);
if (F_status_is_error(status)) return status;
idss->array[i].size = 0;
for (f_array_length_t i = length; i < idss->size; ++i) {
- status = f_memory_delete(idss->array[i].size, sizeof(f_fll_ids_t), (void **) & idss->array[i].array);
+ status = f_memory_delete(idss->array[i].size, sizeof(f_fll_id_t), (void **) & idss->array[i].array);
if (F_status_is_error(status)) return status;
idss->array[i].size = 0;
for (f_array_length_t i = length; i < int128ss->size; ++i) {
- status = f_memory_destroy(int128ss->array[i].size, sizeof(f_int128s_t), (void **) & int128ss->array[i].array);
+ status = f_memory_destroy(int128ss->array[i].size, sizeof(int128_t), (void **) & int128ss->array[i].array);
if (F_status_is_error(status)) return status;
int128ss->array[i].size = 0;
for (f_array_length_t i = length; i < int128ss->size; ++i) {
- status = f_memory_delete(int128ss->array[i].size, sizeof(f_int128s_t), (void **) & int128ss->array[i].array);
+ status = f_memory_delete(int128ss->array[i].size, sizeof(int128_t), (void **) & int128ss->array[i].array);
if (F_status_is_error(status)) return status;
int128ss->array[i].size = 0;
for (f_array_length_t i = length; i < int16ss->size; ++i) {
- status = f_memory_destroy(int16ss->array[i].size, sizeof(f_int16s_t), (void **) & int16ss->array[i].array);
+ status = f_memory_destroy(int16ss->array[i].size, sizeof(int16_t), (void **) & int16ss->array[i].array);
if (F_status_is_error(status)) return status;
int16ss->array[i].size = 0;
for (f_array_length_t i = length; i < int16ss->size; ++i) {
- status = f_memory_delete(int16ss->array[i].size, sizeof(f_int16s_t), (void **) & int16ss->array[i].array);
+ status = f_memory_delete(int16ss->array[i].size, sizeof(int16_t), (void **) & int16ss->array[i].array);
if (F_status_is_error(status)) return status;
int16ss->array[i].size = 0;
for (f_array_length_t i = length; i < int32ss->size; ++i) {
- status = f_memory_destroy(int32ss->array[i].size, sizeof(f_int32s_t), (void **) & int32ss->array[i].array);
+ status = f_memory_destroy(int32ss->array[i].size, sizeof(int32_t), (void **) & int32ss->array[i].array);
if (F_status_is_error(status)) return status;
int32ss->array[i].size = 0;
for (f_array_length_t i = length; i < int32ss->size; ++i) {
- status = f_memory_delete(int32ss->array[i].size, sizeof(f_int32s_t), (void **) & int32ss->array[i].array);
+ status = f_memory_delete(int32ss->array[i].size, sizeof(int32_t), (void **) & int32ss->array[i].array);
if (F_status_is_error(status)) return status;
int32ss->array[i].size = 0;
for (f_array_length_t i = length; i < int64ss->size; ++i) {
- status = f_memory_destroy(int64ss->array[i].size, sizeof(f_int64s_t), (void **) & int64ss->array[i].array);
+ status = f_memory_destroy(int64ss->array[i].size, sizeof(int64_t), (void **) & int64ss->array[i].array);
if (F_status_is_error(status)) return status;
int64ss->array[i].size = 0;
for (f_array_length_t i = length; i < int64ss->size; ++i) {
- status = f_memory_delete(int64ss->array[i].size, sizeof(f_int64s_t), (void **) & int64ss->array[i].array);
+ status = f_memory_delete(int64ss->array[i].size, sizeof(int64_t), (void **) & int64ss->array[i].array);
if (F_status_is_error(status)) return status;
int64ss->array[i].size = 0;
int8ss->array[i].used = 0;
} // for
- status = f_memory_adjust(int8ss->size, length, sizeof(f_int8s_t), (void **) & int8ss->array);
+ status = f_memory_adjust(int8ss->size, length, sizeof(int8_t), (void **) & int8ss->array);
if (F_status_is_error(status)) return status;
int8ss->size = length;
for (f_array_length_t i = length; i < int8ss->size; ++i) {
- status = f_memory_delete(int8ss->array[i].size, sizeof(f_int8s_t), (void **) & int8ss->array[i].array);
+ status = f_memory_delete(int8ss->array[i].size, sizeof(int8_t), (void **) & int8ss->array[i].array);
if (F_status_is_error(status)) return status;
int8ss->array[i].size = 0;
for (f_array_length_t i = length; i < statess->size; ++i) {
- status = f_memory_destroy(statess->array[i].size, sizeof(f_states_t), (void **) & statess->array[i].array);
+ status = f_memory_destroy(statess->array[i].size, sizeof(f_state_t), (void **) & statess->array[i].array);
if (F_status_is_error(status)) return status;
statess->array[i].size = 0;
for (f_array_length_t i = length; i < statess->size; ++i) {
- status = f_memory_delete(statess->array[i].size, sizeof(f_states_t), (void **) & statess->array[i].array);
+ status = f_memory_delete(statess->array[i].size, sizeof(f_state_t), (void **) & statess->array[i].array);
if (F_status_is_error(status)) return status;
statess->array[i].size = 0;
for (f_array_length_t i = length; i < statusss->size; ++i) {
- status = f_memory_destroy(statusss->array[i].size, sizeof(f_statuss_t), (void **) & statusss->array[i].array);
+ status = f_memory_destroy(statusss->array[i].size, sizeof(f_status_t), (void **) & statusss->array[i].array);
if (F_status_is_error(status)) return status;
statusss->array[i].size = 0;
for (f_array_length_t i = length; i < statusss->size; ++i) {
- status = f_memory_delete(statusss->array[i].size, sizeof(f_statuss_t), (void **) & statusss->array[i].array);
+ status = f_memory_delete(statusss->array[i].size, sizeof(f_status_t), (void **) & statusss->array[i].array);
if (F_status_is_error(status)) return status;
statusss->array[i].size = 0;
for (f_array_length_t i = length; i < uint128ss->size; ++i) {
- status = f_memory_destroy(uint128ss->array[i].size, sizeof(f_uint128s_t), (void **) & uint128ss->array[i].array);
+ status = f_memory_destroy(uint128ss->array[i].size, sizeof(uint128_t), (void **) & uint128ss->array[i].array);
if (F_status_is_error(status)) return status;
uint128ss->array[i].size = 0;
for (f_array_length_t i = length; i < uint128ss->size; ++i) {
- status = f_memory_delete(uint128ss->array[i].size, sizeof(f_uint128s_t), (void **) & uint128ss->array[i].array);
+ status = f_memory_delete(uint128ss->array[i].size, sizeof(uint128_t), (void **) & uint128ss->array[i].array);
if (F_status_is_error(status)) return status;
uint128ss->array[i].size = 0;
for (f_array_length_t i = length; i < uint16ss->size; ++i) {
- status = f_memory_destroy(uint16ss->array[i].size, sizeof(f_uint16s_t), (void **) & uint16ss->array[i].array);
+ status = f_memory_destroy(uint16ss->array[i].size, sizeof(uint16_t), (void **) & uint16ss->array[i].array);
if (F_status_is_error(status)) return status;
uint16ss->array[i].size = 0;
for (f_array_length_t i = length; i < uint16ss->size; ++i) {
- status = f_memory_delete(uint16ss->array[i].size, sizeof(f_uint16s_t), (void **) & uint16ss->array[i].array);
+ status = f_memory_delete(uint16ss->array[i].size, sizeof(uint16_t), (void **) & uint16ss->array[i].array);
if (F_status_is_error(status)) return status;
uint16ss->array[i].size = 0;
for (f_array_length_t i = length; i < uint32ss->size; ++i) {
- status = f_memory_destroy(uint32ss->array[i].size, sizeof(f_uint32s_t), (void **) & uint32ss->array[i].array);
+ status = f_memory_destroy(uint32ss->array[i].size, sizeof(uint32_t), (void **) & uint32ss->array[i].array);
if (F_status_is_error(status)) return status;
uint32ss->array[i].size = 0;
for (f_array_length_t i = length; i < uint32ss->size; ++i) {
- status = f_memory_delete(uint32ss->array[i].size, sizeof(f_uint32s_t), (void **) & uint32ss->array[i].array);
+ status = f_memory_delete(uint32ss->array[i].size, sizeof(uint32_t), (void **) & uint32ss->array[i].array);
if (F_status_is_error(status)) return status;
uint32ss->array[i].size = 0;
for (f_array_length_t i = length; i < uint64ss->size; ++i) {
- status = f_memory_destroy(uint64ss->array[i].size, sizeof(f_uint64s_t), (void **) & uint64ss->array[i].array);
+ status = f_memory_destroy(uint64ss->array[i].size, sizeof(uint64_t), (void **) & uint64ss->array[i].array);
if (F_status_is_error(status)) return status;
uint64ss->array[i].size = 0;
for (f_array_length_t i = length; i < uint64ss->size; ++i) {
- status = f_memory_delete(uint64ss->array[i].size, sizeof(f_uint64s_t), (void **) & uint64ss->array[i].array);
+ status = f_memory_delete(uint64ss->array[i].size, sizeof(uint64_t), (void **) & uint64ss->array[i].array);
if (F_status_is_error(status)) return status;
uint64ss->array[i].size = 0;
for (f_array_length_t i = length; i < uint8ss->size; ++i) {
- status = f_memory_destroy(uint8ss->array[i].size, sizeof(f_uint8s_t), (void **) & uint8ss->array[i].array);
+ status = f_memory_destroy(uint8ss->array[i].size, sizeof(uint8_t), (void **) & uint8ss->array[i].array);
if (F_status_is_error(status)) return status;
uint8ss->array[i].size = 0;
for (f_array_length_t i = length; i < uint8ss->size; ++i) {
- status = f_memory_delete(uint8ss->array[i].size, sizeof(f_uint8s_t), (void **) & uint8ss->array[i].array);
+ status = f_memory_delete(uint8ss->array[i].size, sizeof(uint8_t), (void **) & uint8ss->array[i].array);
if (F_status_is_error(status)) return status;
uint8ss->array[i].size = 0;