diff options
| author | Alexey Gavrilov <90127298+rebovas@users.noreply.github.com> | 2024-03-08 12:25:05 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-08 12:25:05 +0700 |
| commit | 32e05e127197275bc4931e0beb6e1f7f29fb5d4d (patch) | |
| tree | d5f23cdcbc6af79eb9b789d57086c8e3c9ec9c79 /include | |
| parent | 301dc22ee57b7c46cb033358170ffad615fef6ab (diff) | |
| parent | fa4729c08f02a5c2c958da5142a9b4fef99a4b4f (diff) | |
Merge pull request #3 from rebovas/cpuinfo_refactor
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) |
