From eb70aff2f55e255bff569b918ba1bbe56ad46f57 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 6 Jun 2012 15:23:55 +0200 Subject: 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 --- source3/include/smb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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 */ /* -- cgit