diff options
| author | bunnei <bunneidev@gmail.com> | 2020-10-20 19:07:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-20 19:07:39 -0700 |
| commit | 3d592972dc3fd61cc88771b889eff237e4e03e0f (patch) | |
| tree | 0dbc65ac86e609ae22087c7be9d4759ac6b73004 /src/core/file_sys/fsmitm_romfsbuild.cpp | |
| parent | fdd91540695594c4b015f234325a950a5e6566e9 (diff) | |
Revert "core: Fix clang build"
Diffstat (limited to 'src/core/file_sys/fsmitm_romfsbuild.cpp')
| -rw-r--r-- | src/core/file_sys/fsmitm_romfsbuild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/fsmitm_romfsbuild.cpp b/src/core/file_sys/fsmitm_romfsbuild.cpp index b2d38f01e..c52fafb6f 100644 --- a/src/core/file_sys/fsmitm_romfsbuild.cpp +++ b/src/core/file_sys/fsmitm_romfsbuild.cpp @@ -103,7 +103,7 @@ static u32 romfs_calc_path_hash(u32 parent, std::string_view path, u32 start, u32 hash = parent ^ 123456789; for (u32 i = 0; i < path_len; i++) { hash = (hash >> 5) | (hash << 27); - hash ^= static_cast<u32>(path[start + i]); + hash ^= path[start + i]; } return hash; |
