diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-07-09 01:53:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:24 -0500 |
commit | 3191ed9ae97f7cb6da9dd1034ec416e6e892150a (patch) | |
tree | 4ccb6452e6df30137d47897675888e1d9786b77e /source4/lib | |
parent | 002c4f7d18b4f154c7447c336acd205506d91899 (diff) | |
download | samba-3191ed9ae97f7cb6da9dd1034ec416e6e892150a.tar.gz samba-3191ed9ae97f7cb6da9dd1034ec416e6e892150a.tar.bz2 samba-3191ed9ae97f7cb6da9dd1034ec416e6e892150a.zip |
r8245: Add const.
Andrew Bartlett
(This used to be commit 8c079ce1631433f6bf1da8f378ea5f1a271a02ae)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/samba3/smbpasswd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/samba3/smbpasswd.c b/source4/lib/samba3/smbpasswd.c index 587d038a3d..bcbb5e56d8 100644 --- a/source4/lib/samba3/smbpasswd.c +++ b/source4/lib/samba3/smbpasswd.c @@ -58,12 +58,12 @@ /*! Convert 32 hex characters into a 16 byte array. */ -struct samr_Password *smbpasswd_gethexpwd(TALLOC_CTX *mem_ctx, char *p) +struct samr_Password *smbpasswd_gethexpwd(TALLOC_CTX *mem_ctx, const char *p) { int i; unsigned char lonybble, hinybble; const char *hexchars = "0123456789ABCDEF"; - char *p1, *p2; + const char *p1, *p2; struct samr_Password *pwd = talloc(mem_ctx, struct samr_Password); if (!p) return NULL; |