aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-04-13 09:37:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-04-13 09:37:28 +0200
commit275a49c137588d2b0c7031097c0422426fe657eb (patch)
treedeca6ad1788d3193e785b08989a6113c94023720 /examples
parent6fd3f78644b54987e299c71740d2c21661c92dc6 (diff)
Suppress a warning
Diffstat (limited to 'examples')
-rw-r--r--examples/cxx/hybrid/binary/custom/irawstream.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cxx/hybrid/binary/custom/irawstream.ixx b/examples/cxx/hybrid/binary/custom/irawstream.ixx
index bc9ff9a..31574eb 100644
--- a/examples/cxx/hybrid/binary/custom/irawstream.ixx
+++ b/examples/cxx/hybrid/binary/custom/irawstream.ixx
@@ -11,7 +11,7 @@ irawstream (const xml_schema::buffer& buf, size_t start)
inline void irawstream::
operator>> (bool& x)
{
- x = *align (1, 1);
+ x = *align (1, 1) ? 1 : 0; // Suppress VC++ "forcing value" warning.
}
inline void irawstream::