diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-27 11:26:20 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:08 +1000 |
commit | cdda15c062369d94bc468dce7b541ea505d664e5 (patch) | |
tree | 9b6a1d2b18365ed57622f31395f95b32ad0ded05 /libcli/security | |
parent | 780de03f009d9583541f6bbc6932b0c1b142231b (diff) | |
download | samba-cdda15c062369d94bc468dce7b541ea505d664e5.tar.gz samba-cdda15c062369d94bc468dce7b541ea505d664e5.tar.bz2 samba-cdda15c062369d94bc468dce7b541ea505d664e5.zip |
libcli/security Don't memcpy a uint64_t value, just assign it.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'libcli/security')
-rw-r--r-- | libcli/security/privileges.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/security/privileges.c b/libcli/security/privileges.c index c9756ab756..63765ff454 100644 --- a/libcli/security/privileges.c +++ b/libcli/security/privileges.c @@ -83,7 +83,7 @@ bool se_priv_copy( uint64_t *dst, const uint64_t *src ) if ( !dst || !src ) return false; - memcpy( dst, src, sizeof(uint64_t) ); + *dst = *src; return true; } |