Switch the order of arguments to WT_STRING_MATCH, then no cast is needed.