From: Michael Adam Date: Wed, 6 Jun 2012 13:23:55 +0000 (+0200) Subject: s3:smb: change the value of TID_FIELD_INVALID from -1 to 0 X-Git-Tag: tevent-0.9.16~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb70aff2f55e255bff569b918ba1bbe56ad46f57;p=thirdparty%2Fsamba.git 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 --- diff --git a/source3/include/smb.h b/source3/include/smb.h index 5887ca95e31..fdaf8c5de38 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 */ /*