aboutsummaryrefslogtreecommitdiff
path: root/xsd
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-31 15:01:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-31 15:01:07 +0200
commit788be78baad8b9df82224e52deca6fd9d4bc1971 (patch)
treec2885257178577701f681ba5485f2d7ce33a352e /xsd
parente261eed8fc64a00c2aa45333787b8a66f8c16f54 (diff)
Make sure correct type is stored in context
Diffstat (limited to 'xsd')
-rw-r--r--xsd/processing/cardinality/processor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xsd/processing/cardinality/processor.cxx b/xsd/processing/cardinality/processor.cxx
index 87fdad3..8356ee8 100644
--- a/xsd/processing/cardinality/processor.cxx
+++ b/xsd/processing/cardinality/processor.cxx
@@ -341,8 +341,8 @@ namespace Processing
{
SemanticGraph::Context& ctx (a.context ());
- ctx.set ("min", a.optional_p () ? 0UL : 1UL);
- ctx.set ("max", 1UL);
+ ctx.set ("min", size_t (a.optional_p () ? 0 : 1));
+ ctx.set ("max", size_t (1));
}
};