diff options
Diffstat (limited to 'zap/source/any/str/strlen.c')
-rw-r--r-- | zap/source/any/str/strlen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zap/source/any/str/strlen.c b/zap/source/any/str/strlen.c index e6e9019..e763701 100644 --- a/zap/source/any/str/strlen.c +++ b/zap/source/any/str/strlen.c @@ -8,6 +8,6 @@ zap_sz zap_strlen(char const * str) { char const * const start = str; - while (*str++); + while (*str++ != '\x0'); return (zap_sz)(str - start) - 0x1u; } |