diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/com/main.c | 2 | ||||
-rw-r--r-- | source4/lib/socket/socket.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/com/main.c b/source4/lib/com/main.c index 062d1360ac..487ed5b712 100644 --- a/source4/lib/com/main.c +++ b/source4/lib/com/main.c @@ -52,7 +52,7 @@ WERROR com_create_object(struct com_context *ctx, struct GUID *clsid, int num_if } /* Run IClassFactory::CreateInstance() */ - error = IClassFactory_CreateInstance(factory, ctx, NULL, &classfact_iid, &iunk); + error = IClassFactory_CreateInstance(factory, ctx, NULL, &classfact_iid, (struct MInterfacePointer *) &iunk); if (!W_ERROR_IS_OK(error)) { DEBUG(3, ("Error while calling IClassFactory::CreateInstance : %s\n", win_errstr(error))); return error; diff --git a/source4/lib/socket/socket.h b/source4/lib/socket/socket.h index 0f469e5ceb..02872457b5 100644 --- a/source4/lib/socket/socket.h +++ b/source4/lib/socket/socket.h @@ -206,7 +206,7 @@ NTSTATUS socket_connect_multi(TALLOC_CTX *mem_ctx, const char *server_address, struct socket_context **result, uint16_t *port); void set_socket_options(int fd, const char *options); -void socket_set_flags(struct socket_context *socket, unsigned flags); +void socket_set_flags(struct socket_context *sock, unsigned flags); void socket_tevent_fd_close_fn(struct tevent_context *ev, struct tevent_fd *fde, |