]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
src/common/win32: add missing casts
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 7 Apr 2023 11:48:34 +0000 (11:48 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 30 Aug 2023 12:59:00 +0000 (12:59 +0000)
commit1df7de2aa4e400b2fb3f67d5098132f8c511e93c
tree3a9f586eb7bd61dc17f512c935f9d28e5615f148
parent936252524e9059ad90c8ba140ca45e7ff2f31105
src/common/win32: add missing casts

clang errors out because of a few type mismatches that gcc
ignored through "-fpermissive".

We'll need to cast a few void pointers to the appropriate type.
There's also a function that doesn't have an explicit return type,
which was omitted by mistake.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/common/win32/SubProcess.cc
src/common/win32/dlfcn.cc
src/common/win32/ifaddrs.cc
src/common/win32/registry.h