]> Kevux Git Server - fll/commitdiff
Update: Use off_t instead of f_array_length_t to match uses in functions like f_file_...
authorKevin Day <thekevinday@gmail.com>
Fri, 8 Apr 2022 03:44:11 +0000 (22:44 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 8 Apr 2022 03:44:11 +0000 (22:44 -0500)
level_3/fake/c/private-fake.c
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_embedded_list_read/c/fss_embedded_list_read.c
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_payload_read/c/fss_payload_read.c
level_3/iki_read/c/iki_read.c

index 9b4fb88c4433a766ca8e65e32c4d59212dcd3955..43fd7c2fa2cbe46c860700d911eea146fea905ca 100644 (file)
@@ -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);
index c6ef62a1b1a62f044fc026e91eb612158d49709f..66e243c063973b19ef3ff2845f6b68118934510e 100644 (file)
@@ -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) {
 
index ece844d2e6b98d9416dc9d3046bd9cb5e6a6ccf2..e5a2b5a4b655210997c187ff4d63889d06019e07 100644 (file)
@@ -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) {
 
index 442ebf96375223a891c4db9288cb5d0fb12ae4e7..7ee51a58baaeda77f8ccb81eaa26867387bdb77a 100644 (file)
@@ -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) {
 
index 1c49aacc276d408da44a75efc13d5288d8ffda6d..8efcc5df667db53a8bedacf7428f54bbe9f771d5 100644 (file)
@@ -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) {
 
index 822e3f543c52012b5091ce92a60a3ea2957399e5..ae252cd3913cbfc48e9e0e9eb61a1698f4d12af5 100644 (file)
@@ -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) {
 
index cb46c350ffe6238d9563f329c3ed5ccdb1871c41..f54a808ab657d2ac4f2f91b6470501b8f6520f89 100644 (file)
@@ -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) {
index 26a6f7501e298c1293586db02f2f0b87a96c0583..915b57ff0a013d7a8c425feb90e557905e294a47 100644 (file)
@@ -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) {