summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_hash.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-10-23 20:39:38 +0000
committerHerb Lewis <herb@samba.org>2001-10-23 20:39:38 +0000
commitb8fe0f6711977412f8a7103022b01f3428d9c3a0 (patch)
tree3786997930c8a49b9b92acff37df213919b151f9 /source3/smbd/notify_hash.c
parent9e9b503024ba71fee9af40c8953b24d1632ce25a (diff)
downloadsamba-b8fe0f6711977412f8a7103022b01f3428d9c3a0.tar.gz
samba-b8fe0f6711977412f8a7103022b01f3428d9c3a0.tar.bz2
samba-b8fe0f6711977412f8a7103022b01f3428d9c3a0.zip
more compiler warnings
(This used to be commit 12c10e876ea528fdf33e8ecfe42ab0ebb346b143)
Diffstat (limited to 'source3/smbd/notify_hash.c')
-rw-r--r--source3/smbd/notify_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/notify_hash.c b/source3/smbd/notify_hash.c
index b4edc258e9..a8470102d5 100644
--- a/source3/smbd/notify_hash.c
+++ b/source3/smbd/notify_hash.c
@@ -116,7 +116,7 @@ static BOOL notify_hash(connection_struct *conn, char *path, uint32 flags,
if (flags & (FILE_NOTIFY_CHANGE_DIR_NAME|FILE_NOTIFY_CHANGE_FILE_NAME|FILE_NOTIFY_CHANGE_FILE)) {
int i;
unsigned char tmp_hash[16];
- mdfour(tmp_hash, fname, strlen(fname));
+ mdfour(tmp_hash, (const unsigned char *)fname, strlen(fname));
for (i=0;i<16;i++)
data->name_hash[i] ^= tmp_hash[i];
}