diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-17 19:42:29 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-17 19:42:29 -0500 |
commit | 8249b28bea29e8ce17eac12776a60ec3f9e47176 (patch) | |
tree | 98318d7564b5f618cfb59e23cc6b918fcab88ee8 /include/fud_c_file.hpp | |
parent | b32e83ece42cec5aa9dee370bcdf349d23dbc8ba (diff) |
Rename InvalidInput to ArgumentInvalid.
Diffstat (limited to 'include/fud_c_file.hpp')
-rw-r--r-- | include/fud_c_file.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/fud_c_file.hpp b/include/fud_c_file.hpp index 4905643..b54b044 100644 --- a/include/fud_c_file.hpp +++ b/include/fud_c_file.hpp @@ -220,7 +220,7 @@ class CFile { } if (offset > LONG_MAX || SIZE_MAX - offset < length || destinationSize < length) { - result.status = FudStatus::InvalidInput; + result.status = FudStatus::ArgumentInvalid; return result; } @@ -232,7 +232,7 @@ class CFile { auto fileSize = fileSizeResult.getOkay(); if (offset + length > fileSize) { - result.status = FudStatus::InvalidInput; + result.status = FudStatus::ArgumentInvalid; return result; } @@ -306,7 +306,7 @@ class CFile { } if (offset > LONG_MAX || SIZE_MAX - offset < length || sourceSize < length) { - result.status = FudStatus::InvalidInput; + result.status = FudStatus::ArgumentInvalid; return result; } |