diff options
author | Herb Lewis <herb@samba.org> | 2001-10-23 20:39:38 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2001-10-23 20:39:38 +0000 |
commit | 12c10e876ea528fdf33e8ecfe42ab0ebb346b143 (patch) | |
tree | 2726db1dc5b10aa00ffcf499aa0876d85f87d17d /source/smbd/notify_hash.c | |
parent | 813490855339cffa31c8734ecd362eba7585bda2 (diff) | |
download | samba-12c10e876ea528fdf33e8ecfe42ab0ebb346b143.tar.gz samba-12c10e876ea528fdf33e8ecfe42ab0ebb346b143.tar.xz samba-12c10e876ea528fdf33e8ecfe42ab0ebb346b143.zip |
more compiler warnings
Diffstat (limited to 'source/smbd/notify_hash.c')
-rw-r--r-- | source/smbd/notify_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/notify_hash.c b/source/smbd/notify_hash.c index b4edc258e9e..a8470102d52 100644 --- a/source/smbd/notify_hash.c +++ b/source/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]; } |