Skip to content

Commit

Permalink
LooseFileLoader: Update return value to 64 bits
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Apr 2, 2024
1 parent 2f4d786 commit fedb985
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mods/LooseFileLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void LooseFileLoader::hook() {
m_hook_success = true;
}

uint32_t LooseFileLoader::path_to_hash_hook(const wchar_t* path) {
uint64_t LooseFileLoader::path_to_hash_hook(const wchar_t* path) {
++g_loose_file_loader->m_files_encountered;
const auto enabled = g_loose_file_loader->m_enabled->value();

Expand Down
2 changes: 1 addition & 1 deletion src/mods/LooseFileLoader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class LooseFileLoader : public Mod {

private:
void hook();
static uint32_t path_to_hash_hook(const wchar_t* path);
static uint64_t path_to_hash_hook(const wchar_t* path);

bool m_hook_success{false};
bool m_attempted_hook{false};
Expand Down

0 comments on commit fedb985

Please sign in to comment.