• Nico Weber's avatar
    net: Fix -Wmicrosoft-cast warning. · 8700637f
    Nico Weber authored
    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*.
    
    Bug: 550065
    Change-Id: Ib370ef07bf5f2df00814aa063833486e30ecde6f
    Reviewed-on: https://chromium-review.googlesource.com/954202Reviewed-by: default avatarDavid Benjamin <davidben@chromium.org>
    Commit-Queue: Nico Weber <thakis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#541691}
    8700637f
test_root_certs_win.cc 9 KB