summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-11-13 21:32:04 +0100
committerStefan Metzmacher <metze@samba.org>2008-11-16 16:37:27 +0100
commit203544e690ebd0b22ce9ea8388761ca3dc320673 (patch)
treea207f5058c7dba7beab1e8f5d2d2a48b6517bcff /source4/dsdb/schema/schema.h
parent6770fd12cc2342a51b3fef43d8432191b6491d15 (diff)
downloadsamba-203544e690ebd0b22ce9ea8388761ca3dc320673.tar.gz
samba-203544e690ebd0b22ce9ea8388761ca3dc320673.tar.bz2
samba-203544e690ebd0b22ce9ea8388761ca3dc320673.zip
s4:dsdb/schema: use pointers for rangeLower and rangeUpper.
This makes clear there's an value stored in the schema, as they can be '0'. metze
Diffstat (limited to 'source4/dsdb/schema/schema.h')
-rw-r--r--source4/dsdb/schema/schema.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h
index 68dc8197cb..e8fefb5246 100644
--- a/source4/dsdb/schema/schema.h
+++ b/source4/dsdb/schema/schema.h
@@ -72,8 +72,8 @@ struct dsdb_attribute {
struct ldb_val oMObjectClass;
bool isSingleValued;
- uint32_t rangeLower;
- uint32_t rangeUpper;
+ uint32_t *rangeLower;
+ uint32_t *rangeUpper;
bool extendedCharsAllowed;
uint32_t schemaFlagsEx;