From 255ad121c7b40309020b57a68b55c78f10b2fc96 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 6 Apr 2016 17:03:05 +0200 Subject: Fix Sun CC compiler warning --- libxsd/xsd/cxx/xml/char-utf8.txx | 4 ++-- 1 file 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 (*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 (*p)); if (c < 0x80) { -- cgit v1.1