/* FIXME: This code needs rework! Rewrite as a parser? */
#include <h/mh.h>
+#include <ctype.h>
/*
** error codes for sequence
return BADNUM;
}
- for (bp = buf; isalpha(*cp) && (bp - buf < sizeof(buf) - 1); ) {
+ for (bp = buf; isalpha(*cp) && (bp - buf < (int)sizeof(buf) - 1); ) {
*bp++ = *cp++;
}
*bp++ = '\0';