diff options
author | Volker Lendecke <vl@samba.org> | 2008-02-23 10:50:12 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-02-23 11:04:13 +0100 |
commit | 6548493de7680dedd429bf851fc57b577e06c673 (patch) | |
tree | 6b306aa4201308063a8a0bb6950db1fd1f851d11 /source3/libsmb | |
parent | fdf4e84e2b3fa7b29b384a7a18c422f98be35950 (diff) | |
download | samba-6548493de7680dedd429bf851fc57b577e06c673.tar.gz samba-6548493de7680dedd429bf851fc57b577e06c673.tar.bz2 samba-6548493de7680dedd429bf851fc57b577e06c673.zip |
Fix a C++ warning
(This used to be commit ac027a9b2e84d319f961ac0e84654a0e48920138)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/samlogon_cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c index e2a4b3898f..3cc0dcf0fb 100644 --- a/source3/libsmb/samlogon_cache.c +++ b/source3/libsmb/samlogon_cache.c @@ -228,7 +228,8 @@ struct netr_SamInfo3 *netsamlogon_cache_get(TALLOC_CTX *mem_ctx, const DOM_SID * goto done; } - info3 = talloc_memdup(mem_ctx, &r.info3, sizeof(r.info3)); + info3 = (struct netr_SamInfo3 *)talloc_memdup(mem_ctx, &r.info3, + sizeof(r.info3)); done: SAFE_FREE(data.dptr); |