summaryrefslogtreecommitdiff
path: root/source/fud_memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/fud_memory.cpp')
-rw-r--r--source/fud_memory.cpp2
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;