diff options
| author | Alexey Gavrilov <rebovas@yahoo.com> | 2024-03-08 12:24:02 +0700 |
|---|---|---|
| committer | Alexey Gavrilov <rebovas@yahoo.com> | 2024-03-08 12:24:02 +0700 |
| commit | fa4729c08f02a5c2c958da5142a9b4fef99a4b4f (patch) | |
| tree | d5f23cdcbc6af79eb9b789d57086c8e3c9ec9c79 /include | |
| parent | 301dc22ee57b7c46cb033358170ffad615fef6ab (diff) | |
Cpuinfo refactor
Diffstat (limited to 'include')
| -rw-r--r-- | include/MemoryOperations.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/MemoryOperations.cpp b/include/MemoryOperations.cpp index 882a133..5d82dac 100644 --- a/include/MemoryOperations.cpp +++ b/include/MemoryOperations.cpp @@ -4,7 +4,7 @@ uint32 MemoryOperations::copy(void *source, void *destination, uint32 sizeBytes) { if(source == nullptr || destination == nullptr) return NULL; - char *src = (char *)source, *dst = (char*)destination; + uint8 *src = (uint8 *)source, *dst = (uint8*)destination; uint32 byteNumber = 1; while(byteNumber <= sizeBytes) @@ -20,7 +20,7 @@ uint32 MemoryOperations::set(void *field, uint8 value, uint32 sizeBytes) { if(field == nullptr) return NULL; - char *charField = (char*)field; + uint8 *charField = (uint8*)field; uint32 byteNumber = 1; while(byteNumber <= sizeBytes) |
