summaryrefslogtreecommitdiff
path: root/zap/source/any/mem/srch.c
diff options
context:
space:
mode:
Diffstat (limited to 'zap/source/any/mem/srch.c')
-rw-r--r--zap/source/any/mem/srch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zap/source/any/mem/srch.c b/zap/source/any/mem/srch.c
index 494e2d8..9f86634 100644
--- a/zap/source/any/mem/srch.c
+++ b/zap/source/any/mem/srch.c
@@ -6,9 +6,9 @@
#include <zap/mem.h>
-void * zap_srch(void const * const _buf,zap_byte const _val,zap_sz const _num) {
- zap_byte const * buf;
- zap_byte * const stop = (zap_byte *)_buf + _num;
+void * zap_srch(void const * const _buf,zap_i8 const _val,zap_sz const _num) {
+ zap_i8 const * buf;
+ zap_i8 * const stop = (zap_i8 *)_buf + _num;
for (buf = _buf;buf != stop;++buf) {
if (*buf == _val) {
return (void *)buf;