diff --git a/repertory/librepertory/src/providers/base_provider.cpp b/repertory/librepertory/src/providers/base_provider.cpp index 97c9b6ae..ab0fbedc 100644 --- a/repertory/librepertory/src/providers/base_provider.cpp +++ b/repertory/librepertory/src/providers/base_provider.cpp @@ -506,7 +506,7 @@ void base_provider::remove_deleted_files() { } else { utils::error::raise_error( function_name, std::to_string(utils::get_last_error_code()), - "failed to create orphaned director|sp|" + orphaned_directory); + "failed to create orphaned directory|sp|" + orphaned_directory); continue; } } diff --git a/support/include/utils/time.hpp b/support/include/utils/time.hpp index a5469e4a..640e1751 100644 --- a/support/include/utils/time.hpp +++ b/support/include/utils/time.hpp @@ -25,7 +25,7 @@ #include "utils/config.hpp" namespace repertory::utils::time { -inline constexpr const auto NANOS_PER_SECOND = 1000000000ULL; +inline constexpr const auto NANOS_PER_SECOND = 1000000000L; inline constexpr const auto WIN32_TIME_CONVERSION{116444736000000000ULL}; inline constexpr const auto WIN32_TIME_NANOS_PER_TICK{100ULL};