summaryrefslogtreecommitdiff
path: root/zap/source/any/mem/fill.c
diff options
context:
space:
mode:
Diffstat (limited to 'zap/source/any/mem/fill.c')
-rw-r--r--zap/source/any/mem/fill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zap/source/any/mem/fill.c b/zap/source/any/mem/fill.c
index 11f5b59..dc59263 100644
--- a/zap/source/any/mem/fill.c
+++ b/zap/source/any/mem/fill.c
@@ -6,9 +6,9 @@
#include <zap/mem.h>
-void zap_fill(void * const _dest,zap_byte const _val,zap_sz const _num) {
- zap_byte * dest;
- zap_byte * const stop = (zap_byte *)_dest + _num;
+void zap_fill(void * const _dest,zap_i8 const _val,zap_sz const _num) {
+ zap_i8 * dest;
+ zap_i8 * const stop = (zap_i8 *)_dest + _num;
for (dest = _dest;dest != stop;++dest) {
*dest = _val;
}