suppress clang cast warning