diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2020-04-08 18:19:37 -0700 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2020-07-24 15:06:39 -0700 |
| commit | 59dc7cfe7dc962ef5cddbb0055fee6923db33445 (patch) | |
| tree | 77ad73bfaf3d4079631b50c219167e6769ab26cd /Source/Core/Common | |
| parent | b996dcf8719194152c88e236c1d473ace644f0f9 (diff) | |
Use size_t in some DSP code code
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Hash.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Common/Hash.h | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/Source/Core/Common/Hash.h b/Source/Core/Common/Hash.h index 488f68cc1a..9d1af1847c 100644 --- a/Source/Core/Common/Hash.h +++ b/Source/Core/Common/Hash.h @@ -12,7 +12,7 @@ namespace Common { u32 HashFletcher(const u8* data_u8, size_t length); // FAST. Length & 1 == 0. u32 HashAdler32(const u8* data, size_t len); // Fairly accurate, slightly slower -u32 HashEctor(const u8* ptr, int length); // JUNK. DO NOT USE FOR NEW THINGS +u32 HashEctor(const u8* ptr, size_t length); // JUNK. DO NOT USE FOR NEW THINGS u64 GetHash64(const u8* src, u32 len, u32 samples); void SetHash64Function(); } // namespace Common |
