improved the speed somewhat
fixed bug with negative chars in comparisons
This commit is contained in:
@@ -14,5 +14,5 @@ strlen(const char *org)
|
||||
while (*s++)
|
||||
/* EMPTY */ ;
|
||||
|
||||
return (s - 1) - org;
|
||||
return --s - org;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user