From 8249b28bea29e8ce17eac12776a60ec3f9e47176 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Thu, 17 Oct 2024 19:42:29 -0500 Subject: Rename InvalidInput to ArgumentInvalid. --- include/fud_c_file.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/fud_c_file.hpp') 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; } -- cgit v1.2.3