hum, you may be circonventing the spirit of the warning but it's not any better. Also, you should use reinterpret_cast instead of a simple cast to do these types of things.

handle_ = reinterpret_cast<::CURLM*>(multi_);