summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Hash.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2020-08-01 15:26:27 +0100
committerGitHub <noreply@github.com>2020-08-01 15:26:27 +0100
commitdbacffd75d0608f0b22e709ac398282afa3ec848 (patch)
tree5bb4803e8ffd5a756edd0c275507ae79c3ec891c /Source/Core/Common/Hash.cpp
parent37827ef134735f91f921f44ae1d91bc55d453658 (diff)
parent1ca3710bd210906d05b7ad512ba155e3a012e9b8 (diff)
Merge pull request #8731 from Pokechu22/dsp-lle-cpu-int-crash
Fix crash when using DSP LLE with CPU interpreter (or fastmem off)
Diffstat (limited to 'Source/Core/Common/Hash.cpp')
-rw-r--r--Source/Core/Common/Hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Hash.cpp b/Source/Core/Common/Hash.cpp
index 525f0b21e2..395865c475 100644
--- a/Source/Core/Common/Hash.cpp
+++ b/Source/Core/Common/Hash.cpp
@@ -95,7 +95,7 @@ u32 HashAdler32(const u8* data, size_t len)
// Stupid hash - but can't go back now :)
// Don't use for new things. At least it's reasonably fast.
-u32 HashEctor(const u8* ptr, int length)
+u32 HashEctor(const u8* ptr, size_t length)
{
u32 crc = 0;