diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-09-29 11:49:50 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-10-02 15:33:48 +0200 |
commit | 44df2488e30da783add33b4fb85d96ce65856484 (patch) | |
tree | 3750f027eb89377d3908e802869cfca5922b237c /source4/lib | |
parent | f390daef475126b4ff5a3d0ffd2babbd87d4c22b (diff) | |
download | samba-44df2488e30da783add33b4fb85d96ce65856484.tar.gz samba-44df2488e30da783add33b4fb85d96ce65856484.tar.bz2 samba-44df2488e30da783add33b4fb85d96ce65856484.zip |
s4: fix various warnings (not "const" related ones)
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, |