diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-23 07:36:16 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-23 07:36:16 -0500 |
commit | 0b860bb5dd6d2007db605291d239a6a9d41f57d1 (patch) | |
tree | fab140e03a3665236503d1405de9d33ba58ccc4a /source/fud_memory.cpp | |
parent | 7da829d48f9059c83ab9cada2c850621e8bbd3f3 (diff) |
Installable library.
Diffstat (limited to 'source/fud_memory.cpp')
-rw-r--r-- | source/fud_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fud_memory.cpp b/source/fud_memory.cpp index fe6dfae..c4a4aa8 100644 --- a/source/fud_memory.cpp +++ b/source/fud_memory.cpp @@ -88,7 +88,7 @@ FudStatus setMemory(void* data, size_t dataSize, uint8_t pattern, size_t count) for (size_t idx = 0; idx < count; ++idx) { - static_cast<char*>(data)[idx] = pattern; + static_cast<uint8_t*>(data)[idx] = pattern; } return FudStatus::Success; |