Fix signed/unsigned comparisons
[kai/samba-autobuild/.git] / source3 / smbd / files.c
index 1ad601abcdbf158d589c010f95da183f8cb634d5..19896a789dbcecd2c853dbc8d3c4f4bd4f12e2f0 100644 (file)
@@ -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. */