summaryrefslogtreecommitdiffstats
path: root/source3/smbd/files.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-12-05 14:38:48 +0100
committerJeremy Allison <jra@samba.org>2014-12-07 00:12:07 +0100
commita2d6511f909f2bd16907997d06500598a5099941 (patch)
treef6ab6999f9e09174a8f13406f45615b527dcefb2 /source3/smbd/files.c
parent6a3db15810a01dc51faf39ea355525bc4c598758 (diff)
downloadsamba-a2d6511f909f2bd16907997d06500598a5099941.tar.gz
samba-a2d6511f909f2bd16907997d06500598a5099941.tar.xz
samba-a2d6511f909f2bd16907997d06500598a5099941.zip
Fix signed/unsigned comparisons
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/files.c')
-rw-r--r--source3/smbd/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index 1ad601abcd..19896a789d 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -727,7 +727,7 @@ NTSTATUS file_name_hash(connection_struct *conn,
{
char tmpbuf[PATH_MAX];
char *fullpath, *to_free;
- size_t len;
+ ssize_t len;
/* Set the hash of the full pathname. */