Details
Description
gcc issues a couple of warnings in C++11 about narrowing conversions, clang refuses to build for the same reason.
The attached patch solves this trivial problem by adding a few static casts in the right places.
While you're on it you might also want to apply XERCESC-1994, which had been revealed by compiling xerces-c using Clang.