aboutsummaryrefslogtreecommitdiff
path: root/primedev/core/memory.cpp
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-01-24 02:29:20 +0100
committerGitHub <noreply@github.com>2024-01-24 02:29:20 +0100
commit3b7d9aaa95449a66be36a057aa49e35bcb8acec6 (patch)
tree2c772ba10530356a7bb4482fe61e207667081fc2 /primedev/core/memory.cpp
parentefff77f0941df9b6502f6c66a621c1c41a0d1e25 (diff)
parent7f84bdf8fd5c93286f000bc5f9314eab81128cee (diff)
downloadNorthstarLauncher-3b7d9aaa95449a66be36a057aa49e35bcb8acec6.tar.gz
NorthstarLauncher-3b7d9aaa95449a66be36a057aa49e35bcb8acec6.zip
Merge branch 'main' into feat/update-for-new-verified-json
Diffstat (limited to 'primedev/core/memory.cpp')
-rw-r--r--primedev/core/memory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/primedev/core/memory.cpp b/primedev/core/memory.cpp
index 3770586f..41110aee 100644
--- a/primedev/core/memory.cpp
+++ b/primedev/core/memory.cpp
@@ -103,7 +103,7 @@ inline std::vector<uint8_t> HexBytesToString(const char* pHexString)
{
std::vector<uint8_t> ret;
- int size = strlen(pHexString);
+ size_t size = strlen(pHexString);
for (int i = 0; i < size; i++)
{
// If this is a space character, ignore it
@@ -289,7 +289,7 @@ inline std::pair<std::vector<uint8_t>, std::string> MaskedBytesFromPattern(const
std::vector<uint8_t> vRet;
std::string sMask;
- int size = strlen(pPatternString);
+ size_t size = strlen(pPatternString);
for (int i = 0; i < size; i++)
{
// If this is a space character, ignore it