Fix compile-time warning about varargs method invocation