typo in comment

master
leitner 19 years ago
parent 35c01d480b
commit 8ccd1cdd5f

@ -1,7 +1,7 @@
#include "byte.h" #include "byte.h"
/* byte_chr returns the smallest integer i between 0 and len-1 /* byte_chr returns the smallest integer i between 0 and len-1
* inclusive such that one[i] equals needle, or len it not found. */ * inclusive such that one[i] equals needle, or len if not found. */
unsigned long byte_chr(const void* haystack, unsigned long len, char needle) { unsigned long byte_chr(const void* haystack, unsigned long len, char needle) {
register char c=needle; register char c=needle;
register const char* s=haystack; register const char* s=haystack;

Loading…
Cancel
Save