diff options
author | Volker Lendecke <vl@samba.org> | 2011-01-09 19:54:33 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-01-17 08:03:40 +0100 |
commit | d9204622e371f1f88be0f0d20c7365d440c616bc (patch) | |
tree | 1d1b9fd5c40ff926c6281995dc6036d75639e600 /source3/smbd | |
parent | 674dcd68a635c183a7cafb9547d2b2f1b0a24081 (diff) | |
download | samba-d9204622e371f1f88be0f0d20c7365d440c616bc.tar.gz samba-d9204622e371f1f88be0f0d20c7365d440c616bc.tar.bz2 samba-d9204622e371f1f88be0f0d20c7365d440c616bc.zip |
s3: Fix a C++ warning
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/smb2_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 38f221c597..fef9dede26 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -438,7 +438,7 @@ static void smb2_set_operation_credit(struct smbd_server_connection *sconn, const struct iovec *in_vector, struct iovec *out_vector) { - uint8_t *outhdr = out_vector->iov_base; + uint8_t *outhdr = (uint8_t *)out_vector->iov_base; uint16_t credits_requested = 0; uint16_t credits_granted = 0; |