NetBSD's character class test macros are defined such that they produce a compiler warning when given a char argument. Adding a cast to the call fixes this.