silence warnings about implicit cast