From: Kevin Day Date: Fri, 8 Apr 2022 03:44:11 +0000 (-0500) Subject: Update: Use off_t instead of f_array_length_t to match uses in functions like f_file_... X-Git-Tag: 0.5.10~223 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=36da377370ecb5e1afdb2ddaf692115b940daa30;p=fll Update: Use off_t instead of f_array_length_t to match uses in functions like f_file_size(). --- diff --git a/level_3/fake/c/private-fake.c b/level_3/fake/c/private-fake.c index 9b4fb88..43fd7c2 100644 --- a/level_3/fake/c/private-fake.c +++ b/level_3/fake/c/private-fake.c @@ -107,7 +107,7 @@ extern "C" { if (status == F_true) { { - f_array_length_t size_file = 0; + off_t size_file = 0; name_function = "f_file_size"; status = f_file_size(path_file, F_true, &size_file); diff --git a/level_3/fss_basic_list_read/c/fss_basic_list_read.c b/level_3/fss_basic_list_read/c/fss_basic_list_read.c index c6ef62a..66e243c 100644 --- a/level_3/fss_basic_list_read/c/fss_basic_list_read.c +++ b/level_3/fss_basic_list_read/c/fss_basic_list_read.c @@ -516,9 +516,9 @@ extern "C" { if (F_status_is_error_not(status) && main->parameters.remaining.used) { f_file_t file = f_file_t_initialize; - f_array_length_t size_block = 0; - f_array_length_t size_file = 0; - f_array_length_t size_read = 0; + off_t size_block = 0; + off_t size_file = 0; + off_t size_read = 0; for (f_array_length_t i = 0; i < main->parameters.remaining.used; ++i) { diff --git a/level_3/fss_basic_read/c/fss_basic_read.c b/level_3/fss_basic_read/c/fss_basic_read.c index ece844d..e5a2b5a 100644 --- a/level_3/fss_basic_read/c/fss_basic_read.c +++ b/level_3/fss_basic_read/c/fss_basic_read.c @@ -523,9 +523,9 @@ extern "C" { if (F_status_is_error_not(status) && main->parameters.remaining.used > 0) { f_file_t file = f_file_t_initialize; - f_array_length_t size_block = 0; - f_array_length_t size_file = 0; - f_array_length_t size_read = 0; + off_t size_block = 0; + off_t size_file = 0; + off_t size_read = 0; for (f_array_length_t i = 0; i < main->parameters.remaining.used; ++i) { diff --git a/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c b/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c index 442ebf9..7ee51a5 100644 --- a/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c +++ b/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c @@ -413,9 +413,9 @@ extern "C" { if (F_status_is_error_not(status) && main->parameters.remaining.used > 0) { f_file_t file = f_file_t_initialize; - f_array_length_t size_block = 0; - f_array_length_t size_file = 0; - f_array_length_t size_read = 0; + off_t size_block = 0; + off_t size_file = 0; + off_t size_read = 0; for (f_array_length_t i = 0; i < main->parameters.remaining.used; ++i) { diff --git a/level_3/fss_extended_list_read/c/fss_extended_list_read.c b/level_3/fss_extended_list_read/c/fss_extended_list_read.c index 1c49aac..8efcc5d 100644 --- a/level_3/fss_extended_list_read/c/fss_extended_list_read.c +++ b/level_3/fss_extended_list_read/c/fss_extended_list_read.c @@ -523,9 +523,9 @@ extern "C" { if (F_status_is_error_not(status) && main->parameters.remaining.used > 0) { f_file_t file = f_file_t_initialize; - f_array_length_t size_block = 0; - f_array_length_t size_file = 0; - f_array_length_t size_read = 0; + off_t size_block = 0; + off_t size_file = 0; + off_t size_read = 0; for (f_array_length_t i = 0; i < main->parameters.remaining.used; ++i) { diff --git a/level_3/fss_extended_read/c/fss_extended_read.c b/level_3/fss_extended_read/c/fss_extended_read.c index 822e3f5..ae252cd 100644 --- a/level_3/fss_extended_read/c/fss_extended_read.c +++ b/level_3/fss_extended_read/c/fss_extended_read.c @@ -522,9 +522,9 @@ extern "C" { if (F_status_is_error_not(status) && main->parameters.remaining.used > 0) { f_file_t file = f_file_t_initialize; - f_array_length_t size_block = 0; - f_array_length_t size_file = 0; - f_array_length_t size_read = 0; + off_t size_block = 0; + off_t size_file = 0; + off_t size_read = 0; for (f_array_length_t i = 0; i < main->parameters.remaining.used; ++i) { diff --git a/level_3/fss_payload_read/c/fss_payload_read.c b/level_3/fss_payload_read/c/fss_payload_read.c index cb46c35..f54a808 100644 --- a/level_3/fss_payload_read/c/fss_payload_read.c +++ b/level_3/fss_payload_read/c/fss_payload_read.c @@ -554,9 +554,9 @@ extern "C" { if (F_status_is_error_not(status) && main->parameters.remaining.used > 0) { f_file_t file = f_file_t_initialize; - f_array_length_t size_block = 0; - f_array_length_t size_file = 0; - f_array_length_t size_read = 0; + off_t size_block = 0; + off_t size_file = 0; + off_t size_read = 0; const f_array_length_t buffer_used = data.buffer.used; for (f_array_length_t i = 0; i < main->parameters.remaining.used; ++i) { diff --git a/level_3/iki_read/c/iki_read.c b/level_3/iki_read/c/iki_read.c index 26a6f75..915b57f 100644 --- a/level_3/iki_read/c/iki_read.c +++ b/level_3/iki_read/c/iki_read.c @@ -365,9 +365,9 @@ extern "C" { if (F_status_is_fine(status) && main->parameters.remaining.used > 0) { f_file_t file = f_file_t_initialize; - f_array_length_t size_block = 0; - f_array_length_t size_file = 0; - f_array_length_t size_read = 0; + off_t size_block = 0; + off_t size_file = 0; + off_t size_read = 0; for (f_array_length_t i = 0; i < main->parameters.remaining.used; ++i) {