Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75315 - in branches/release/libs/locale/src: . posix
From: artyomtnk_at_[hidden]
Date: 2011-11-04 10:10:36


Author: artyom
Date: 2011-11-04 10:10:35 EDT (Fri, 04 Nov 2011)
New Revision: 75315
URL: http://svn.boost.org/trac/boost/changeset/75315

Log:
Merged changeset 75174 from trunk (clang issue)

Properties modified:
   branches/release/libs/locale/src/ (props changed)
Text files modified:
   branches/release/libs/locale/src/posix/codecvt.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/release/libs/locale/src/posix/codecvt.cpp
==============================================================================
--- branches/release/libs/locale/src/posix/codecvt.cpp (original)
+++ branches/release/libs/locale/src/posix/codecvt.cpp 2011-11-04 10:10:35 EDT (Fri, 04 Nov 2011)
@@ -134,7 +134,7 @@
 
             // maybe illegal or may be double byte
 
- char inseq[3] = {seq0 , begin[1], 0};
+ char inseq[3] = { static_cast<char>(seq0) , begin[1], 0};
             char *inbuf = inseq;
             size_t insize = 3;
             uint32_t result[2] = { illegal, illegal };


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk