duct/IO/arithmetic: switched to static_cast instead of reinterpret_cast for buffers.