Skip to content

Commit 17cc0c5

Browse files
Adjustments to FileWorker To Resolve 32Bit & Non-Posix System Issues (#5021)
1 parent 38eb95c commit 17cc0c5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Svc/FileWorker/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
#
1111
####
1212

13-
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/test/FileTester")
13+
if (BUILD_TESTING AND NOT __FPRIME_NO_UT_GEN__)
14+
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/test/FileTester")
15+
endif()
1416

1517
register_fprime_module(
1618
AUTOCODER_INPUTS

Svc/FileWorker/FileWorker.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class FileWorker : public FileWorkerComponentBase {
6868
void writeIn_handler(FwIndexType portNum, //!< The port number
6969
const Fw::StringBase& path,
7070
Fw::Buffer& buffer,
71-
U64 offsetBytes,
71+
FwSizeType offsetBytes,
7272
bool append) override;
7373

7474
// ----------------------------------------------------------------------

0 commit comments

Comments
 (0)