summaryrefslogtreecommitdiff
path: root/zap/src/strfill.c
diff options
context:
space:
mode:
Diffstat (limited to 'zap/src/strfill.c')
-rw-r--r--zap/src/strfill.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/zap/src/strfill.c b/zap/src/strfill.c
index a113094..bd0af33 100644
--- a/zap/src/strfill.c
+++ b/zap/src/strfill.c
@@ -6,6 +6,8 @@
#include <zap/priv.h>
+#include <zap/mem.h>
+
#include <stdint.h>
-void zap_strfill(char * const _str,char const _chr) {zap_memfill(_str,zap_strlen(_str),(uint_least8_t)_chr);}
+void zap_strfill(char * const _str,char const _chr) {zap_memfill(_str,zap_strlen(_str),(unsigned char)_chr);}