crashpad: Fix -Wmicrosoft-cast warning.
Standard C++ doesn't allow implicit conversion between function pointers and void*. MSVC does allow that, so clang-cl also allows it but emits a -Wmicrosoft-cast warning. We want to enable this warning to make the compiler behave more similar on different platforms, so add an explicit cast to void*. (GetProcAddress() returns FARPROC, a function pointer type.) Bug: 550065 Change-Id: Ia96aaa2ef58a434ef61e7d8d0c6df9b632d6b1c2 Reviewed-on: https://chromium-review.googlesource.com/953743Reviewed-by:Robert Sesek <rsesek@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#541637}
Showing
Please register or sign in to comment