summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-06 15:23:55 +0200
committerMichael Adam <obnox@samba.org>2012-06-06 19:37:14 +0200
commiteb70aff2f55e255bff569b918ba1bbe56ad46f57 (patch)
treefaf51ebefc4901a3e7c7cae7595320c2f35e91ef /source3
parentba1699463bee4d622e76f54c1a1c17858545c84f (diff)
downloadsamba-eb70aff2f55e255bff569b918ba1bbe56ad46f57.tar.gz
samba-eb70aff2f55e255bff569b918ba1bbe56ad46f57.tar.bz2
samba-eb70aff2f55e255bff569b918ba1bbe56ad46f57.zip
s3:smb: change the value of TID_FIELD_INVALID from -1 to 0
This paves the way to change the tid/cnum types to systematic uint32_t. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 5887ca95e3..fdaf8c5de3 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -672,7 +672,7 @@ enum acl_compatibility {ACL_COMPAT_AUTO, ACL_COMPAT_WINNT, ACL_COMPAT_WIN2K};
#define UID_FIELD_INVALID 0
#define VUID_OFFSET 100 /* Amount to bias returned vuid numbers */
-#define TID_FIELD_INVALID -1
+#define TID_FIELD_INVALID 0
#define CNUM_OFFSET 1 /* shift for bitmap index */
/*