regexec.c: Cast to silence compiler warning
regexec.c: Cast to silence compiler warnings