diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-09-25 14:56:43 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-09-25 14:56:43 +0300 |
| commit | 2d173beb3392aff35c8a33f4ac001bf63bb9adc6 (patch) | |
| tree | 3b9dc8dc03276f5ead11f2e3613536c7f11c6b18 /common/string.c | |
| parent | 13fe461374c0716404e2ee7726781b9cd12dbaa7 (diff) | |
| download | kmi-2d173beb3392aff35c8a33f4ac001bf63bb9adc6.tar.gz kmi-2d173beb3392aff35c8a33f4ac001bf63bb9adc6.zip | |
Used memory regions now marked
+ I don't fully trust my memory management system yet, so should
probably check the memory regions it gives.
Diffstat (limited to 'common/string.c')
| -rw-r--r-- | common/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/string.c b/common/string.c index 0870b78..810a703 100644 --- a/common/string.c +++ b/common/string.c @@ -251,7 +251,7 @@ __weak void *memset(void *ptr, int value, size_t num) char c = value; while (num--) - *(p--) = c; + *(p++) = c; return ptr; } |
