aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-04-06 17:03:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-04-06 17:03:05 +0200
commit255ad121c7b40309020b57a68b55c78f10b2fc96 (patch)
tree0aef1bbf8c3288b4a745ddbf78ed24a3aecbc55b
parentb979e2549d1775119e69d35a3a95971a2907946f (diff)
Fix Sun CC compiler warning
-rw-r--r--libxsd/xsd/cxx/xml/char-utf8.txx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libxsd/xsd/cxx/xml/char-utf8.txx b/libxsd/xsd/cxx/xml/char-utf8.txx
index a6511be..c7935ec 100644
--- a/libxsd/xsd/cxx/xml/char-utf8.txx
+++ b/libxsd/xsd/cxx/xml/char-utf8.txx
@@ -152,7 +152,7 @@ namespace xsd
for (const C* p (s); p < end; ++p)
{
- unsigned char c (*p);
+ unsigned char c (static_cast<unsigned char> (*p));
if (c < 0x80)
{
@@ -201,7 +201,7 @@ namespace xsd
for (const C* p (s); p < end; ++p)
{
- unsigned char c (*p);
+ unsigned char c (static_cast<unsigned char> (*p));
if (c < 0x80)
{